gitlab-org--gitlab-foss/app/controllers/projects/alert_management_controller.rb

15 lines
357 B
Ruby

# frozen_string_literal: true
class Projects::AlertManagementController < Projects::ApplicationController
before_action :authorize_read_alert_management_alert!
feature_category :alert_management
def index
end
def details
@alert_id = params[:id]
push_frontend_feature_flag(:expose_environment_path_in_alert_details, @project)
end
end