debian-mirror-gitlab/app/policies/clusters/cluster_policy.rb

11 lines
193 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2018-03-17 18:26:18 +05:30
module Clusters
class ClusterPolicy < BasePolicy
alias_method :cluster, :subject
2018-12-23 12:14:25 +05:30
delegate { cluster.group }
2018-03-17 18:26:18 +05:30
delegate { cluster.project }
end
end