debian-mirror-gitlab/app/policies/wiki_policy.rb
2021-01-30 21:13:32 +05:30

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