mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
Merge branch 'develop' into standalone_develop
This commit is contained in:
@@ -3,7 +3,7 @@ class Contents::CreateForm < BaseForm
|
|||||||
|
|
||||||
validates :filepath, presence: true
|
validates :filepath, presence: true
|
||||||
|
|
||||||
validates :new_branch, length: { maximum: 50 }, message: "分支名称过长,仅支持50的长度"
|
validates :new_branch, length: { maximum: 50}
|
||||||
|
|
||||||
validate :check_branch
|
validate :check_branch
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user