diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-05 22:25:27 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-05 22:25:27 +0300 |
commit | e7bcbb95c88a42fc31bc0ccbdf6a819780a612ec (patch) | |
tree | 3d29ffada6edbd662c692a1bc3adb63696511b84 /app/views/layouts/snippets.html.haml | |
parent | 36e832cc280115673e96f3adf624b9737d40f7fd (diff) | |
download | gitlab-ce-e7bcbb95c88a42fc31bc0ccbdf6a819780a612ec.tar.gz |
Restyle snippets
Diffstat (limited to 'app/views/layouts/snippets.html.haml')
-rw-r--r-- | app/views/layouts/snippets.html.haml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/layouts/snippets.html.haml b/app/views/layouts/snippets.html.haml index d177709e087..f2696a0e987 100644 --- a/app/views/layouts/snippets.html.haml +++ b/app/views/layouts/snippets.html.haml @@ -7,15 +7,12 @@ %nav.main-nav .container %ul - = nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do - = link_to root_path, title: "Back to dashboard" do + = nav_link(path: 'snippets#user_index', html_options: {class: 'home'}) do + = link_to user_snippets_path(current_user), title: "My Snippets" do %i.icon-home = nav_link(path: 'snippets#new') do = link_to new_snippet_path do New snippet - = nav_link(path: 'snippets#user_index') do - = link_to user_snippets_path(@current_user) do - My snippets = nav_link(path: 'snippets#index') do = link_to snippets_path do Discover snippets |