Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/protected_branch_policy.rb')
-rw-r--r--app/policies/protected_branch_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/protected_branch_policy.rb b/app/policies/protected_branch_policy.rb
index 0e83d2e5834..1a5c6528b82 100644
--- a/app/policies/protected_branch_policy.rb
+++ b/app/policies/protected_branch_policy.rb
@@ -9,3 +9,5 @@ class ProtectedBranchPolicy < BasePolicy
enable :destroy_protected_branch
end
end
+
+ProtectedBranchPolicy.prepend_if_ee('EE::ProtectedBranchPolicy')