diff options
Diffstat (limited to 'app/presenters/project_clusterable_presenter.rb')
-rw-r--r-- | app/presenters/project_clusterable_presenter.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app/presenters/project_clusterable_presenter.rb b/app/presenters/project_clusterable_presenter.rb index bd149cdcc70..12077b2e735 100644 --- a/app/presenters/project_clusterable_presenter.rb +++ b/app/presenters/project_clusterable_presenter.rb @@ -1,22 +1,6 @@ # frozen_string_literal: true class ProjectClusterablePresenter < ClusterablePresenter - def index_path - project_clusters_path(clusterable) - end - - def new_path - new_project_cluster_path(clusterable) - end - - def create_user_clusters_path - create_user_project_clusters_path(clusterable) - end - - def create_gcp_clusters_path - create_gcp_project_clusters_path(clusterable) - end - def cluster_status_cluster_path(cluster, params = {}) cluster_status_project_cluster_path(clusterable, cluster, params) end @@ -28,8 +12,4 @@ class ProjectClusterablePresenter < ClusterablePresenter def cluster_path(cluster, params = {}) project_cluster_path(clusterable, cluster, params) end - - def clusterable_params - { project_id: clusterable.to_param, namespace_id: clusterable.namespace.to_param } - end end |