debian-mirror-gitlab/app/policies/wiki_policy.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
178 B
Ruby
Raw Normal View History

2021-01-03 14:25:43 +05:30
# frozen_string_literal: true
class WikiPolicy < ::BasePolicy
# Wiki policies are delegated to their container objects (Project or Group)
delegate { subject.container }
end