Module: Admin::DeployKeyHelper

Defined in:
app/helpers/admin/deploy_key_helper.rb

Instance Method Summary collapse

Instance Method Details

#admin_deploy_keys_dataObject



5
6
7
8
9
10
11
12
# File 'app/helpers/admin/deploy_key_helper.rb', line 5

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