diff options
Diffstat (limited to 'app/policies/environment_policy.rb')
-rw-r--r-- | app/policies/environment_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/environment_policy.rb b/app/policies/environment_policy.rb index f0187a39687..e9e3517b3da 100644 --- a/app/policies/environment_policy.rb +++ b/app/policies/environment_policy.rb @@ -21,4 +21,4 @@ class EnvironmentPolicy < BasePolicy rule { ~stopped }.prevent(:destroy_environment) end -EnvironmentPolicy.prepend_if_ee('EE::EnvironmentPolicy') +EnvironmentPolicy.prepend_mod_with('EnvironmentPolicy') |