Remove duplicate relative url in package registry
requested to merge gitlab-community/gitlab:332884-remove-duplicated-relative-url-in-package-registry into master
What does this MR do and why?
This MR aims to solve a long standing bug mentioned in issue #332884 (closed) .
It removes method call to #expose_path
as it leads to adding duplicated relative url part inside "Package Registry > Registry setup" URL.
Files changed:
/app/helpers/packages_helper.rb
How to set up and validate locally
- Setup GDK environment locally & clone gitlab.
- Run
bundle exec rails console
in the gitlab directory to use gitlab in rails console. - Follow through initial steps mentioned in this comment & make a function call to
#package_registry_project_url
in above MR branch.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mayank Singh