mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-14 22:24:36 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -3,6 +3,8 @@ class Contents::CreateForm < BaseForm
|
|||||||
|
|
||||||
validates :filepath, presence: true
|
validates :filepath, presence: true
|
||||||
|
|
||||||
|
validates :new_branch, length: { maximum: 50, too_long: "分支名称过长,仅支持%{count}的长度"}
|
||||||
|
|
||||||
validate :check_branch
|
validate :check_branch
|
||||||
|
|
||||||
def check_branch
|
def check_branch
|
||||||
|
|||||||
Reference in New Issue
Block a user