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:
authorsyasonik <syasonik@gitlab.com>2019-04-11 10:04:22 +0300
committersyasonik <syasonik@gitlab.com>2019-04-24 13:23:03 +0300
commit185ec80751c665bdde6f5494d7cb51acbb2784a4 (patch)
tree5e103619785dbd7126eb0eb9029f4369c201feda /app/controllers
parenta2920682ec307b9aa830903014139948cdbb9b1f (diff)
Save multi-dashboard logic for another MR
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/environments_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb
index 41fe70052ce..ea25ae22bcf 100644
--- a/app/controllers/projects/environments_controller.rb
+++ b/app/controllers/projects/environments_controller.rb
@@ -163,7 +163,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
respond_to do |format|
format.json do
- dashboard = MetricsDashboardService.new(@project).find(params[:dashboard])
+ dashboard = MetricsDashboardService.new.get_dashboard
render json: dashboard, status: :ok
end