diff options
Diffstat (limited to 'app/policies/project_snippet_policy.rb')
-rw-r--r-- | app/policies/project_snippet_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/project_snippet_policy.rb b/app/policies/project_snippet_policy.rb index 869f4716298..b8f0be9b4c5 100644 --- a/app/policies/project_snippet_policy.rb +++ b/app/policies/project_snippet_policy.rb @@ -51,4 +51,4 @@ class ProjectSnippetPolicy < BasePolicy rule { ~can?(:read_snippet) }.prevent :create_note end -ProjectSnippetPolicy.prepend_if_ee('EE::ProjectSnippetPolicy') +ProjectSnippetPolicy.prepend_mod_with('ProjectSnippetPolicy') |