Merge branch 'develop' into standalone_develop
This commit is contained in:
commit
36443a54d8
|
@ -3,6 +3,8 @@ class Contents::CreateForm < BaseForm
|
|||
|
||||
validates :filepath, presence: true
|
||||
|
||||
validates :new_branch, length: { maximum: 50 }, message: "分支名称过长,仅支持50的长度"
|
||||
|
||||
validate :check_branch
|
||||
|
||||
def check_branch
|
||||
|
|
Loading…
Reference in New Issue