gitlab-org--gitlab-foss/app/policies/wiki_policy.rb

6 lines
178 B
Ruby

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