FIX 版本库在线创建文件去掉敏感词过滤功能

This commit is contained in:
jasder 2021-11-10 10:20:19 +08:00
parent a5fd87a475
commit 4fe3f88de6
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ class Contents::CreateForm < BaseForm
validate :check_branch validate :check_branch
validate :dun_content_check # validate :dun_content_check 敏感词过滤
def check_branch def check_branch
raise "branch和new_branch必须存在一个 " if branch.blank? && new_branch.blank? raise "branch和new_branch必须存在一个 " if branch.blank? && new_branch.blank?

View File

@ -2,7 +2,7 @@ module DunCheckAble
extend ActiveSupport::Concern extend ActiveSupport::Concern
included do included do
validate :check_text_able # validate :check_text_able # 敏感词过滤
end end
def check_text_able def check_text_able