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

6 lines
90 B
Ruby
Raw Normal View History

2016-09-29 09:46:39 +05:30
class EnvironmentPolicy < BasePolicy
def rules
delegate! @subject.project
end
end