debian-mirror-gitlab/app/policies/ci/pipeline_policy.rb

8 lines
111 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module Ci
class PipelinePolicy < BasePolicy
def rules
delegate! @subject.project
end
end
end