debian-mirror-gitlab/app/policies/concerns/clusterable_actions.rb
2019-02-13 22:33:31 +05:30

14 lines
219 B
Ruby

# frozen_string_literal: true
module ClusterableActions
private
# Overridden on EE module
def multiple_clusters_available?
false
end
def clusterable_has_clusters?
!subject.clusters.empty?
end
end