Commit 83eb63cb authored by Andrew8xx8's avatar Andrew8xx8

New layout for snippets added

parent 8adf9c79
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Snipepts"
%body{class: "#{app_theme} application"}
= render "layouts/head_panel", title: "Snippets"
= render "layouts/flash"
.container
%ul.main_menu
= nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
= link_to root_path, title: "Back to dashboard" do
%i.icon-arrow-left
= nav_link(path: 'snippet#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
= nav_link(path: 'search#show') do
= link_to "Search", search_path
.content= yield
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