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: 8b23c3e1e13ffa61ed67fa50bf04d098e79530e3 (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-access-token-md.svg')
      }
    end
  end
end