Commit 84db89ac authored by Nick Kipling's avatar Nick Kipling

Applying feedback to helper function

parent 118c4a1d
...@@ -19,8 +19,8 @@ module EE ...@@ -19,8 +19,8 @@ module EE
end end
def nuget_package_registry_url(project_id) def nuget_package_registry_url(project_id)
project_registry = expose_path(api_v4_projects_packages_nuget_index_path(id: project_id, format: ".json")) project_registry_path = expose_path(api_v4_projects_packages_nuget_index_path(id: project_id, format: '.json'))
::Gitlab::Utils.append_path(::Gitlab.config.gitlab.url, project_registry) ::Gitlab::Utils.append_path(::Gitlab.config.gitlab.url, project_registry_path)
end end
def package_registry_project_url(project_id, registry_type = :maven) def package_registry_project_url(project_id, registry_type = :maven)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment