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:
authorThong Kuah <tkuah@gitlab.com>2019-05-02 08:37:13 +0300
committerThong Kuah <tkuah@gitlab.com>2019-07-08 01:04:33 +0300
commit93d987d6ddc3ffeba9c3b2b04d8039a05b070e6a (patch)
tree3e2e91be243a3cc5108f4cf2583782423fe84c1a
parentbd69c9197cefcb31ebabe466df005f1451ac1c46 (diff)
Use @project instead of requerying
-rw-r--r--app/views/clusters/clusters/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/clusters/clusters/show.html.haml b/app/views/clusters/clusters/show.html.haml
index 4dfbb310142..c38997fd75c 100644
--- a/app/views/clusters/clusters/show.html.haml
+++ b/app/views/clusters/clusters/show.html.haml
@@ -2,7 +2,7 @@
- add_to_breadcrumbs _('Kubernetes Clusters'), clusterable.index_path
- breadcrumb_title @cluster.name
- page_title _('Kubernetes Cluster')
-- manage_prometheus_path = edit_project_service_path(@cluster.project, 'prometheus') if @project
+- manage_prometheus_path = edit_project_service_path(@project, 'prometheus') if @project
- expanded = expanded_by_default?