summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/metrics.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-12 15:31:14 +0100
committerPhil Hughes <me@iamphill.com>2017-04-12 15:31:14 +0100
commit59616dc7505502bc1aab616099a9f37a295f7359 (patch)
tree14b5a1302b0c76d3b03c7ba4ea797c203671a9e7 /app/views/projects/environments/metrics.html.haml
parent8c66ced7396be4a645ea530d3fcc247945203bb9 (diff)
downloadgitlab-ce-59616dc7505502bc1aab616099a9f37a295f7359.tar.gz
Fixed up some code
Improved the design Pulls the endpoint from the HAML
Diffstat (limited to 'app/views/projects/environments/metrics.html.haml')
-rw-r--r--app/views/projects/environments/metrics.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/environments/metrics.html.haml b/app/views/projects/environments/metrics.html.haml
index 3b45162df52..69a7165bdbe 100644
--- a/app/views/projects/environments/metrics.html.haml
+++ b/app/views/projects/environments/metrics.html.haml
@@ -5,7 +5,7 @@
= page_specific_javascript_bundle_tag('monitoring')
= render "projects/pipelines/head"
-%div{ class: container_class }
+#js-metrics{ class: container_class, data: { deployment_endpoint: namespace_project_environment_deployments_path(@project.namespace, @project, @environment, format: :json) } }
.top-area
.row
.col-sm-6