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:
authorTristan Read <tread@gitlab.com>2019-08-09 23:35:43 +0300
committerRobert Speicher <rspeicher@gmail.com>2019-08-09 23:35:43 +0300
commit5e6a58040bcfaa4c933027cddfad04810042b904 (patch)
tree98add06845bf9d558de38c9c1034ade7d05d9ce2 /app/controllers/projects
parent25dd49cda27b479a478eac861e1704812602d938 (diff)
Remove gfm_embed_metrics flag from BE
Removes the feature flag that controls whether metrics dashboard urls unfurl the metrics dashboard charts.
Diffstat (limited to 'app/controllers/projects')
-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 4ae79186143..df9e55fda2a 100644
--- a/app/controllers/projects/environments_controller.rb
+++ b/app/controllers/projects/environments_controller.rb
@@ -161,7 +161,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
end
def metrics_dashboard
- if Feature.enabled?(:gfm_embedded_metrics, project) && params[:embedded]
+ if params[:embedded]
result = dashboard_finder.find(
project,
current_user,