Browse Source

修改create_file

tags/v1
sylor_huang@126.com 6 years ago
parent
commit
e15a81a04c
1 changed files with 1 additions and 1 deletions
  1. +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

Loading…
Cancel
Save