Commit 4f9153be authored by Peter Leitzen's avatar Peter Leitzen

Control alert management feature flag per project

Enable/disable feature flag `alert_management_create_alert_issue`
per project rather than globally.
parent 36845e07
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class Projects::AlertManagementController < Projects::ApplicationController class Projects::AlertManagementController < Projects::ApplicationController
before_action :authorize_read_alert_management_alert! before_action :authorize_read_alert_management_alert!
before_action do before_action do
push_frontend_feature_flag(:alert_management_create_alert_issue) push_frontend_feature_flag(:alert_management_create_alert_issue, project)
push_frontend_feature_flag(:alert_assignee, project) push_frontend_feature_flag(:alert_assignee, project)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment