This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge pull request '修改易修标题验证规则' (
#203
) from yystopf/forgeplus:hh_fix_bug into develop
tags/v4.0.0
jasder
4 years ago
parent
37e5e6d547
73f558d7c3
commit
fddd466907
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/forms/issues/create_form.rb
+1
-1
app/forms/issues/update_form.rb
+ 1
- 1
app/forms/issues/create_form.rb
View File
@@ -5,7 +5,7 @@ class Issues::CreateForm
validates :subject, presence: { message: "不能为空" }
validates :subject, length: { maximum:
80, too_long: "不能超过8
0个字符" }
validates :subject, length: { maximum:
200, too_long: "不能超过20
0个字符" }
end
+ 1
- 1
app/forms/issues/update_form.rb
View File
@@ -5,6 +5,6 @@ class Issues::UpdateForm
validates :subject, presence: { message: "不能为空" }
validates :subject, length: { maximum:
80, too_long: "不能超过8
0个字符" }
validates :subject, length: { maximum:
200, too_long: "不能超过20
0个字符" }
end
Write
Preview
Loading…
Cancel
Save