Commit aaacef47 authored by Drew Blessing's avatar Drew Blessing

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
...@@ -42,11 +42,11 @@ ...@@ -42,11 +42,11 @@
%li %li
%span.light http: %span.light http:
%strong %strong
= link_to @project.http_url_to_repo = link_to @project.http_url_to_repo, project_path(@project)
%li %li
%span.light ssh: %span.light ssh:
%strong %strong
= link_to @project.ssh_url_to_repo = link_to @project.ssh_url_to_repo, project_path(@project)
- if @project.repository.exists? - if @project.repository.exists?
%li %li
%span.light fs: %span.light fs:
......
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