2020-04-21 15:21:10 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Projects::AlertManagementController < Projects::ApplicationController
|
2020-05-07 21:09:26 +00:00
|
|
|
before_action :authorize_read_alert_management_alert!
|
2020-04-23 15:09:55 +00:00
|
|
|
|
2021-05-27 15:10:39 +00:00
|
|
|
before_action(only: [:index]) do
|
2021-06-16 03:10:15 +00:00
|
|
|
push_frontend_feature_flag(:managed_alerts_deprecation, @project, default_enabled: :yaml)
|
2021-05-27 15:10:39 +00:00
|
|
|
end
|
|
|
|
|
2020-11-19 15:09:13 +00:00
|
|
|
feature_category :incident_management
|
2020-10-08 18:08:32 +00:00
|
|
|
|
2020-04-21 15:21:10 +00:00
|
|
|
def index
|
2020-04-23 15:09:55 +00:00
|
|
|
end
|
|
|
|
|
2020-04-29 06:09:48 +00:00
|
|
|
def details
|
2020-05-06 15:09:42 +00:00
|
|
|
@alert_id = params[:id]
|
2020-04-29 06:09:48 +00:00
|
|
|
end
|
2020-04-21 15:21:10 +00:00
|
|
|
end
|