debian-mirror-gitlab/app/policies/clusters/cluster_policy.rb
2019-02-15 15:39:39 +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