debian-mirror-gitlab/app/policies/clusters/cluster_policy.rb
2019-02-13 22:33:31 +05:30

10 lines
193 B
Ruby

# frozen_string_literal: true
module Clusters
class ClusterPolicy < BasePolicy
alias_method :cluster, :subject
delegate { cluster.group }
delegate { cluster.project }
end
end