Commit 0261a5e2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix wording and remove duplicate link

parent 4a63573b
%ul.nav.nav-sidebar %ul.nav.nav-sidebar
= nav_link(path: user_snippets_path(current_user), html_options: {class: 'home'}) do = 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 %i.fa.fa-dashboard
%span %span
My Snippets Your Snippets
= nav_link(path: snippets_path) do = nav_link(path: snippets_path) do
= link_to snippets_path, title: 'Discover snippets' do = link_to snippets_path, title: 'Discover snippets' do
%i.fa.fa-globe %i.fa.fa-globe
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
.pull-right .pull-right
= link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do = link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do
Add new snippet Add new snippet
= link_to snippets_path, class: "btn btn-grouped" do
Discover snippets
%p.light %p.light
Share code pastes with others out of git repository Share code pastes with others out of git repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment