diff options
Diffstat (limited to 'app/helpers/application_settings_helper.rb')
-rw-r--r-- | app/helpers/application_settings_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb index 93e282e44be..9a1a2b3a79c 100644 --- a/app/helpers/application_settings_helper.rb +++ b/app/helpers/application_settings_helper.rb @@ -309,3 +309,9 @@ module ApplicationSettingsHelper can?(current_user, :read_cluster, Clusters::Instance.new) end end + +ApplicationSettingsHelper.prepend_if_ee('EE::ApplicationSettingsHelper') # rubocop: disable Cop/InjectEnterpriseEditionModule + +# The methods in `EE::ApplicationSettingsHelper` should be available as both +# instance and class methods. +ApplicationSettingsHelper.extend_if_ee('EE::ApplicationSettingsHelper') |