Welcome to mirror list, hosted at ThFree Co, Russian Federation.

alert_management_controller.rb « projects « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 34f9f361e438ec286dae22274d0bd3f08a6f95fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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