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

alert_management_helper.rb « projects « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1b0400fbaa5d9d5f1558f60f92c3e878da0dfbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Projects::AlertManagementHelper
  def alert_management_data(project)
    {
      'index-path' => project_alert_management_index_path(project,
                                                        format: :json),
      'enable-alert-management-path' => project_settings_operations_path(project),
      'empty-alert-svg-path' => image_path('illustrations/alert-management-empty-state.svg')
    }
  end
end