diff options
Diffstat (limited to 'app/controllers/projects/metrics/dashboards/builder_controller.rb')
-rw-r--r-- | app/controllers/projects/metrics/dashboards/builder_controller.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/projects/metrics/dashboards/builder_controller.rb b/app/controllers/projects/metrics/dashboards/builder_controller.rb index a7832aa363e..2ab574d7d10 100644 --- a/app/controllers/projects/metrics/dashboards/builder_controller.rb +++ b/app/controllers/projects/metrics/dashboards/builder_controller.rb @@ -4,7 +4,6 @@ module Projects module Metrics module Dashboards class BuilderController < Projects::ApplicationController - before_action :ensure_feature_flags before_action :authorize_metrics_dashboard! def panel_preview @@ -21,10 +20,6 @@ module Projects private - def ensure_feature_flags - render_404 unless Feature.enabled?(:metrics_dashboard_new_panel_page, project) - end - def rendered_panel @panel_preview ||= ::Metrics::Dashboard::PanelPreviewService.new(project, panel_yaml, environment).execute end |