Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Leitzen <pleitzen@gitlab.com>2019-05-06 19:24:14 +0300
committerBob Van Landuyt <bob@gitlab.com>2019-05-06 19:24:14 +0300
commitc8a530a319d6e2550f41cbf61203e6b2712dc7e0 (patch)
tree0c4dced685d5f8007853d3b977346f436dd44668 /app/presenters/group_clusterable_presenter.rb
parent4ebbfb9f1e95091a7753a10e12d989d72f4332f8 (diff)
Show health graphs on group-level
Tweak cluster helper and refactor its specs.
Diffstat (limited to 'app/presenters/group_clusterable_presenter.rb')
-rw-r--r--app/presenters/group_clusterable_presenter.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/presenters/group_clusterable_presenter.rb b/app/presenters/group_clusterable_presenter.rb
index f5b0bb64487..15db3aabafe 100644
--- a/app/presenters/group_clusterable_presenter.rb
+++ b/app/presenters/group_clusterable_presenter.rb
@@ -24,6 +24,11 @@ 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.')