diff options
author | Drew Blessing <drew.blessing@mac.com> | 2015-04-03 18:09:30 +0300 |
---|---|---|
committer | Drew Blessing <drew.blessing@mac.com> | 2015-04-03 18:09:30 +0300 |
commit | aaacef47fff4d7c359cb025caf879dff56a98932 (patch) | |
tree | b058c0382bd5def92918f79451ce06199a42ecf4 /app/views/admin | |
parent | aedc12547aa87827ebb330481da957ba974708b8 (diff) | |
parent | 368cbe30675edeffbe90f494806d6f9e6b34c7ee (diff) |
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
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/projects/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index 05372f4124f..b0b23132560 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -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: |