diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-12 00:10:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-12 00:10:21 +0300 |
commit | 0ae8428c8e77d5d7e098827be688b1f146321af1 (patch) | |
tree | cfc80aac796be0dd42ce32a1bd79c8327071993d /app/policies/environment_policy.rb | |
parent | f020d5dc9bf42fe27b1451af34e7ab3a0c38d344 (diff) |
Add latest changes from gitlab-org/gitlab@master
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') |