debian-mirror-gitlab/app/controllers/projects/alert_management_controller.rb
2021-09-04 01:27:46 +05:30

18 lines
412 B
Ruby

# frozen_string_literal: true
class Projects::AlertManagementController < Projects::ApplicationController
before_action :authorize_read_alert_management_alert!
before_action(only: [:index]) do
push_frontend_feature_flag(:managed_alerts_deprecation, @project, default_enabled: :yaml)
end
feature_category :incident_management
def index
end
def details
@alert_id = params[:id]
end
end