diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-25 19:34:16 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-25 19:34:16 -0800 |
commit | 1da71cc520dd09098d8f756de3f58b8e2f153fcd (patch) | |
tree | 4f78552d8e11d2e185f2c7e944f049459a507d90 /app/views/admin/projects | |
parent | cd6baa141528f6d4e676715c2d3995fdc05e9544 (diff) | |
download | gitlab-ce-1da71cc520dd09098d8f756de3f58b8e2f153fcd.tar.gz |
Introduce shortcuts for routing helpers
Diffstat (limited to 'app/views/admin/projects')
-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 3bcf1cc9ede..1421c2ea909 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -1,6 +1,6 @@ %h3.page-title Project: #{@project.name_with_namespace} - = link_to edit_namespace_project_path(@project.namespace, @project), class: "btn pull-right" do + = link_to edit_project_path(@project), class: "btn pull-right" do %i.fa.fa-pencil-square-o Edit %hr @@ -13,7 +13,7 @@ %li %span.light Name: %strong - = link_to @project.name, namespace_project_path(@project.namespace, @project) + = link_to @project.name, project_path(@project) %li %span.light Namespace: %strong |