debian-mirror-gitlab/app/helpers/mirror_helper.rb

11 lines
263 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2018-11-20 20:47:30 +05:30
module MirrorHelper
def mirrors_form_data_attributes
2018-12-23 12:14:25 +05:30
{
project_mirror_ssh_endpoint: ssh_host_keys_project_mirror_path(@project, :json),
project_mirror_endpoint: project_mirror_path(@project, :json)
}
2018-11-20 20:47:30 +05:30
end
end