diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-19 15:09:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-19 15:09:33 +0300 |
commit | 652bd073731b0028641672a75355c7918b5ac116 (patch) | |
tree | e0239f98153492ac89c6fc374c5dfd1aa270d8bf /app/policies | |
parent | 2af90cef2e2e9c776eae4394a43dba3be7f33d1e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/wiki_page/meta_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/wiki_page/meta_policy.rb b/app/policies/wiki_page/meta_policy.rb new file mode 100644 index 00000000000..1eab2d7ca48 --- /dev/null +++ b/app/policies/wiki_page/meta_policy.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class WikiPage::MetaPolicy < BasePolicy + delegate { @subject.project } +end |