From e15a81a04c4cb1c8d1a38cc9414595f2c8ddc018 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Thu, 26 Mar 2020 16:50:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9create=5Ffile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/forms/contents/create_form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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