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:
Diffstat (limited to 'app/presenters/instance_clusterable_presenter.rb')
-rw-r--r--app/presenters/instance_clusterable_presenter.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/presenters/instance_clusterable_presenter.rb b/app/presenters/instance_clusterable_presenter.rb
index 41071bc7bc7..7704e6b59c1 100644
--- a/app/presenters/instance_clusterable_presenter.rb
+++ b/app/presenters/instance_clusterable_presenter.rb
@@ -81,6 +81,10 @@ class InstanceClusterablePresenter < ClusterablePresenter
def learn_more_link
link_to(s_('ClusterIntegration|Learn more about instance Kubernetes clusters'), help_page_path('user/instance/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
end
+
+ def metrics_dashboard_path(cluster)
+ metrics_dashboard_admin_cluster_path(cluster)
+ end
end
InstanceClusterablePresenter.prepend_if_ee('EE::InstanceClusterablePresenter')