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:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-06-14 12:40:59 +0300
committerJose <jvargas@gitlab.com>2018-07-03 20:49:40 +0300
commit3fc8aa2c173fce2aa93a0bad6dcfaa945331cb6c (patch)
tree9b112209fb2250debac4d7e2d54301bdca2375eb /app/views/projects/environments
parentcd5789415b6e561564073693243e890e79596ed2 (diff)
Add environments list instance variable to environment metrics view
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/metrics.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/environments/metrics.html.haml b/app/views/projects/environments/metrics.html.haml
index d6f0b230b58..cd822164316 100644
--- a/app/views/projects/environments/metrics.html.haml
+++ b/app/views/projects/environments/metrics.html.haml
@@ -8,6 +8,7 @@
%h3
Environment:
= link_to @environment.name, environment_path(@environment)
+ = @environments.to_a
#prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'),
"clusters-path": project_clusters_path(@project),