diff --git a/app/views/layouts/nav/_snippets.html.haml b/app/views/layouts/nav/_snippets.html.haml index 1c5d376a76d7be5f18d4d3bb04d48a745fa09c79..e71967bc72580434f1fec80076c60470e97d0b45 100644 --- a/app/views/layouts/nav/_snippets.html.haml +++ b/app/views/layouts/nav/_snippets.html.haml @@ -1,9 +1,9 @@ %ul.nav.nav-sidebar = nav_link(path: user_snippets_path(current_user), html_options: {class: 'home'}) do - = link_to user_snippets_path(current_user) do + = link_to user_snippets_path(current_user), title: 'Your snippets' do %i.fa.fa-dashboard %span - My Snippets + Your Snippets = nav_link(path: snippets_path) do = link_to snippets_path, title: 'Discover snippets' do %i.fa.fa-globe diff --git a/app/views/snippets/current_user_index.html.haml b/app/views/snippets/current_user_index.html.haml index 4a2735579530e4e88ee23655df73e72a196b4cb5..6bb2237a759c5eedbbf1c7d5e423cfc046ee8508 100644 --- a/app/views/snippets/current_user_index.html.haml +++ b/app/views/snippets/current_user_index.html.haml @@ -3,8 +3,6 @@ .pull-right = link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do Add new snippet - = link_to snippets_path, class: "btn btn-grouped" do - Discover snippets %p.light Share code pastes with others out of git repository