debian-mirror-gitlab/app/policies/clusters/cluster_policy.rb
2018-12-23 12:14:25 +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