debian-mirror-gitlab/app/policies/wiki_policy.rb
2021-01-03 14:25:43 +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