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

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

module Admin
  module DeployKeyHelper
    def admin_deploy_keys_data
      {
        edit_path: edit_admin_deploy_key_path(':id'),
        delete_path: admin_deploy_key_path(':id'),
        create_path: new_admin_deploy_key_path,
        empty_state_svg_path: image_path('illustrations/empty-state/empty-deploy-keys-lg.svg')
      }
    end
  end
end