debian-mirror-gitlab/app/helpers/admin/deploy_key_helper.rb

15 lines
382 B
Ruby
Raw Normal View History

2021-12-11 22:18:48 +05:30
# 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