diff options
Diffstat (limited to 'app/controllers/projects/alert_management_controller.rb')
-rw-r--r-- | app/controllers/projects/alert_management_controller.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/projects/alert_management_controller.rb b/app/controllers/projects/alert_management_controller.rb index bcaaeb3c017..0c0a91e136f 100644 --- a/app/controllers/projects/alert_management_controller.rb +++ b/app/controllers/projects/alert_management_controller.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class Projects::AlertManagementController < Projects::ApplicationController - before_action :ensure_detail_feature_enabled, only: :details before_action :authorize_read_alert_management_alert! before_action do push_frontend_feature_flag(:alert_list_status_filtering_enabled) @@ -14,10 +13,4 @@ class Projects::AlertManagementController < Projects::ApplicationController def details @alert_id = params[:id] end - - private - - def ensure_detail_feature_enabled - render_404 unless Feature.enabled?(:alert_management_detail, project) - end end |