diff options
author | syasonik <syasonik@gitlab.com> | 2019-04-16 15:15:57 +0800 |
---|---|---|
committer | syasonik <syasonik@gitlab.com> | 2019-04-24 18:23:03 +0800 |
commit | c9253c3eeb29cf163b0bd387ceb44aa7629be347 (patch) | |
tree | 36ea00404dba19889be15ea6d1075091b0d63717 /app/controllers/projects/environments_controller.rb | |
parent | 3d302879f431aed213c0b9d6308c7dff9a9c3958 (diff) | |
download | gitlab-ce-c9253c3eeb29cf163b0bd387ceb44aa7629be347.tar.gz |
Rubocop cleanup
Diffstat (limited to 'app/controllers/projects/environments_controller.rb')
-rw-r--r-- | app/controllers/projects/environments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb index da35d8d37f7..db0253a9183 100644 --- a/app/controllers/projects/environments_controller.rb +++ b/app/controllers/projects/environments_controller.rb @@ -158,7 +158,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController end def metrics_dashboard - render_403 and return unless Feature.enabled?(:environment_metrics_use_prometheus_endpoint, project) + render_403 && return unless Feature.enabled?(:environment_metrics_use_prometheus_endpoint, project) respond_to do |format| format.json do |