diff options
Diffstat (limited to 'app/helpers/form_helper.rb')
-rw-r--r-- | app/helpers/form_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/form_helper.rb b/app/helpers/form_helper.rb index b611f700d21..ecacde65c10 100644 --- a/app/helpers/form_helper.rb +++ b/app/helpers/form_helper.rb @@ -1,8 +1,6 @@ # frozen_string_literal: true module FormHelper - prepend_if_ee('::EE::FormHelper') # rubocop: disable Cop/InjectEnterpriseEditionModule - def form_errors(model, type: 'form', truncate: []) return unless model.errors.any? @@ -79,3 +77,5 @@ module FormHelper new_options end end + +FormHelper.prepend_if_ee('::EE::FormHelper') |