2016-12-07 17:03:00 -05:00
|
|
|
.top-area
|
|
|
|
%ul.nav-links
|
|
|
|
= nav_link(page: dashboard_snippets_path, html_options: {class: 'home'}) do
|
|
|
|
= link_to dashboard_snippets_path, title: 'Your snippets', data: {placement: 'right'} do
|
2018-01-15 16:48:41 -05:00
|
|
|
Your snippets
|
2016-12-07 17:03:00 -05:00
|
|
|
= nav_link(page: explore_snippets_path) do
|
|
|
|
= link_to explore_snippets_path, title: 'Explore snippets', data: {placement: 'right'} do
|
2018-01-15 16:48:41 -05:00
|
|
|
Explore snippets
|
2017-09-06 04:38:48 -04:00
|
|
|
|
|
|
|
- if current_user
|
|
|
|
.nav-controls.hidden-xs
|
|
|
|
= link_to "New snippet", new_snippet_path, class: "btn btn-new", title: "New snippet"
|