Skip to content
Snippets Groups Projects
Commit aaacef47 authored by Drew Blessing's avatar Drew Blessing
Browse files

Merge branch 'fix-admin-project-urls' into 'master'

Link paths for http and ssh in the admin project show view are incorrect

The link paths for http and ssh in the admin project show view are incorrect. Clicking on them effectively reloads the page. I think the intent is to have the links point to the project dashboard.

Incorrect: http://gitlab.example.com/admin/projects/[namespace]/[project]
Correct: http://gitlab.example.com/[namespace]/[project]

See merge request !214
parents aedc1254 368cbe30
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -42,11 +42,11 @@
%li
%span.light http:
%strong
= link_to @project.http_url_to_repo
= link_to @project.http_url_to_repo, project_path(@project)
%li
%span.light ssh:
%strong
= link_to @project.ssh_url_to_repo
= link_to @project.ssh_url_to_repo, project_path(@project)
- if @project.repository.exists?
%li
%span.light fs:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment