summaryrefslogtreecommitdiff
path: root/app/views/layouts/snippets.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-05 22:25:27 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-05 22:25:27 +0300
commite7bcbb95c88a42fc31bc0ccbdf6a819780a612ec (patch)
tree3d29ffada6edbd662c692a1bc3adb63696511b84 /app/views/layouts/snippets.html.haml
parent36e832cc280115673e96f3adf624b9737d40f7fd (diff)
downloadgitlab-ce-e7bcbb95c88a42fc31bc0ccbdf6a819780a612ec.tar.gz
Restyle snippets
Diffstat (limited to 'app/views/layouts/snippets.html.haml')
-rw-r--r--app/views/layouts/snippets.html.haml7
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