diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-28 17:14:47 +0200 |
---|---|---|
committer | Jose <jvargas@gitlab.com> | 2018-07-03 12:49:41 -0500 |
commit | b80f819b36da2547a54d9ec7fa6e83e20a41642c (patch) | |
tree | 06f12de316d3c3cff7e07fa3df0a9b745fe637ce /app/views/projects/environments | |
parent | 95954a60a7bdd5f9639543e1656d8cd6b2a6b00f (diff) | |
download | gitlab-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.haml | 1 |
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?}" } } |