debian-mirror-gitlab/app/controllers/projects/alert_management_controller.rb

19 lines
412 B
Ruby
Raw Normal View History

2020-05-24 23:13:21 +05:30
# frozen_string_literal: true
class Projects::AlertManagementController < Projects::ApplicationController
before_action :authorize_read_alert_management_alert!
2021-09-04 01:27:46 +05:30
before_action(only: [:index]) do
push_frontend_feature_flag(:managed_alerts_deprecation, @project, default_enabled: :yaml)
end
2021-02-22 17:27:13 +05:30
feature_category :incident_management
2021-01-03 14:25:43 +05:30
2020-05-24 23:13:21 +05:30
def index
end
def details
@alert_id = params[:id]
end
end