summaryrefslogtreecommitdiff
path: root/app/presenters/clusters/cluster_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/clusters/cluster_presenter.rb')
-rw-r--r--app/presenters/clusters/cluster_presenter.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/presenters/clusters/cluster_presenter.rb b/app/presenters/clusters/cluster_presenter.rb
index 33b217c8498..1634d2479a0 100644
--- a/app/presenters/clusters/cluster_presenter.rb
+++ b/app/presenters/clusters/cluster_presenter.rb
@@ -22,10 +22,6 @@ module Clusters
"https://console.cloud.google.com/kubernetes/clusters/details/#{provider.zone}/#{name}" if gcp?
end
- def can_toggle_cluster?
- can?(current_user, :update_cluster, cluster) && created?
- end
-
def can_read_cluster?
can?(current_user, :read_cluster, cluster)
end