summaryrefslogtreecommitdiff
path: root/app/policies/wiki_policy.rb
blob: a551439d0d466672ded3fccbd328d519c1b8c7a9 (plain)
1
2
3
4
5
6
# frozen_string_literal: true

class WikiPolicy < ::BasePolicy
  # Wiki policies are delegated to their container objects (Project or Group)
  delegate { subject.container }
end