debian-mirror-gitlab/app/policies/clusters/cluster_policy.rb
2019-07-31 17:26:46 +00:00

11 lines
227 B
Ruby

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