diff --git a/app/forms/contents/create_form.rb b/app/forms/contents/create_form.rb index 6a7003fd6..6a0294887 100644 --- a/app/forms/contents/create_form.rb +++ b/app/forms/contents/create_form.rb @@ -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