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
修改create_file
tags/v1
sylor_huang@126.com
6 years ago
parent
8db1b88fac
commit
e15a81a04c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/forms/contents/create_form.rb
+ 1
- 1
app/forms/contents/create_form.rb
View File
@@ -7,7 +7,7 @@ class Contents::CreateForm < BaseForm
def check_branch
raise "branch和new_branch必须存在一个 " if branch.blank? && new_branch.blank?
raise "branch和new_branch只能存在一个" if !branch.blank? && !new_branch.blank?
#
raise "branch和new_branch只能存在一个" if !branch.blank? && !new_branch.blank?
end
end
Write
Preview
Loading…
Cancel
Save