summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorJames Fargher <proglottis@gmail.com>2019-05-07 08:49:27 +1200
committerJames Fargher <proglottis@gmail.com>2019-05-07 08:49:27 +1200
commitf07d445b0c3296b3070221ccd70443fba15ba708 (patch)
treef313a04a32a8c6770b97488618cfeef30b87eecc /app/presenters
parent0aeef7335f5adcaf345e24377e63b2221721b346 (diff)
downloadgitlab-ce-f07d445b0c3296b3070221ccd70443fba15ba708.tar.gz
Remove duplicate clusterable presenter methodinstance_level_clusters
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/clusterable_presenter.rb4
-rw-r--r--app/presenters/group_clusterable_presenter.rb5
-rw-r--r--app/presenters/project_clusterable_presenter.rb5
3 files changed, 0 insertions, 14 deletions
diff --git a/app/presenters/clusterable_presenter.rb b/app/presenters/clusterable_presenter.rb
index a9edfc92177..34bdf156623 100644
--- a/app/presenters/clusterable_presenter.rb
+++ b/app/presenters/clusterable_presenter.rb
@@ -52,10 +52,6 @@ class ClusterablePresenter < Gitlab::View::Presenter::Delegated
raise NotImplementedError
end
- def clusters_path(params = {})
- raise NotImplementedError
- end
-
def empty_state_help_text
nil
end
diff --git a/app/presenters/group_clusterable_presenter.rb b/app/presenters/group_clusterable_presenter.rb
index 15db3aabafe..f5b0bb64487 100644
--- a/app/presenters/group_clusterable_presenter.rb
+++ b/app/presenters/group_clusterable_presenter.rb
@@ -24,11 +24,6 @@ class GroupClusterablePresenter < ClusterablePresenter
group_cluster_path(clusterable, cluster, params)
end
- override :clusters_path
- def clusters_path(params = {})
- group_clusters_path(clusterable, params)
- end
-
override :empty_state_help_text
def empty_state_help_text
s_('ClusterIntegration|Adding an integration to your group will share the cluster across all your projects.')
diff --git a/app/presenters/project_clusterable_presenter.rb b/app/presenters/project_clusterable_presenter.rb
index cc0e40e6ab8..8661ee02b68 100644
--- a/app/presenters/project_clusterable_presenter.rb
+++ b/app/presenters/project_clusterable_presenter.rb
@@ -24,11 +24,6 @@ class ProjectClusterablePresenter < ClusterablePresenter
project_cluster_path(clusterable, cluster, params)
end
- override :clusters_path
- def clusters_path(params = {})
- project_clusters_path(clusterable, params)
- end
-
override :sidebar_text
def sidebar_text
s_('ClusterIntegration|With a Kubernetes cluster associated to this project, you can use review apps, deploy your applications, run your pipelines, and much more in an easy way.')