gitlab-org--gitlab-foss/app/helpers/mirror_helper.rb
2018-11-19 11:46:39 +00:00

10 lines
263 B
Ruby

# frozen_string_literal: true
module MirrorHelper
def mirrors_form_data_attributes
{
project_mirror_ssh_endpoint: ssh_host_keys_project_mirror_path(@project, :json),
project_mirror_endpoint: project_mirror_path(@project, :json)
}
end
end