summaryrefslogtreecommitdiff
path: root/app/views/projects/environments
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-06-28 17:14:47 +0200
committerJose <jvargas@gitlab.com>2018-07-03 12:49:41 -0500
commitb80f819b36da2547a54d9ec7fa6e83e20a41642c (patch)
tree06f12de316d3c3cff7e07fa3df0a9b745fe637ce /app/views/projects/environments
parent95954a60a7bdd5f9639543e1656d8cd6b2a6b00f (diff)
downloadgitlab-ce-b80f819b36da2547a54d9ec7fa6e83e20a41642c.tar.gz
Moves the request of the environments list to the index action
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 9aafad13174..af8f2b4a135 100644
--- a/app/views/projects/environments/metrics.html.haml
+++ b/app/views/projects/environments/metrics.html.haml
@@ -11,6 +11,7 @@
"empty-unable-to-connect-svg-path": image_path('illustrations/monitoring/unable_to_connect.svg'),
"metrics-endpoint": additional_metrics_project_environment_path(@project, @environment, format: :json),
"deployment-endpoint": project_environment_deployments_path(@project, @environment, format: :json),
+ "environments": project_environments_path(@project, format: :json),
"project-path": project_path(@project),
"tags-path": project_tags_path(@project),
"has-metrics": "#{@environment.has_metrics?}" } }