Fix double // when redirecting to a package from the search box
Description
If a user searches from the main search bar and only one package is returned we currently redirect the user to the package's show view, but the url has an extra / in it.
The current url (if searching for box-ngrok) would be: //view/box-ngrok. It should be /view/box-ngrok.
Gliffy Diagrams
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
If a user searches from the main search bar and only one package is returned we currently redirect the user to the package's show view, but the url has an extra
/
in it.The current url (if searching for
box-ngrok
) would be://view/box-ngrok
.It should be
/view/box-ngrok
.