debian-mirror-gitlab/app/policies/environment_policy.rb
2016-09-29 09:46:39 +05:30

5 lines
90 B
Ruby

class EnvironmentPolicy < BasePolicy
def rules
delegate! @subject.project
end
end