FIX 版本库在线创建文件去掉敏感词过滤功能
This commit is contained in:
parent
a5fd87a475
commit
4fe3f88de6
|
@ -5,7 +5,7 @@ class Contents::CreateForm < BaseForm
|
|||
|
||||
validate :check_branch
|
||||
|
||||
validate :dun_content_check
|
||||
# validate :dun_content_check 敏感词过滤
|
||||
|
||||
def check_branch
|
||||
raise "branch和new_branch必须存在一个 " if branch.blank? && new_branch.blank?
|
||||
|
|
|
@ -2,7 +2,7 @@ module DunCheckAble
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
validate :check_text_able
|
||||
# validate :check_text_able # 敏感词过滤
|
||||
end
|
||||
|
||||
def check_text_able
|
||||
|
|
Loading…
Reference in New Issue