debian-mirror-gitlab/app/policies/clusters/cluster_policy.rb
2019-12-16 22:33:55 +05:30

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