diff options
Diffstat (limited to 'app/views/layouts/quotes.html.haml')
-rw-r--r-- | app/views/layouts/quotes.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/quotes.html.haml b/app/views/layouts/quotes.html.haml index f42eee0..98a7a86 100644 --- a/app/views/layouts/quotes.html.haml +++ b/app/views/layouts/quotes.html.haml | |||
@@ -11,7 +11,7 @@ | |||
11 | %body | 11 | %body |
12 | #wrap | 12 | #wrap |
13 | %header#banner | 13 | %header#banner |
14 | %h1#banner-title= link_to "The Four Island Quotes DB", root_path | 14 | %h1#banner-title= link_to "The Four Island Quotes DB", quotes_url |
15 | #banner-abbr FIQDB | 15 | #banner-abbr FIQDB |
16 | .cleardiv | 16 | .cleardiv |
17 | %nav#top-bar | 17 | %nav#top-bar |
@@ -25,6 +25,8 @@ | |||
25 | %li= link_to_unless_current "Tags", tags_quotes_url | 25 | %li= link_to_unless_current "Tags", tags_quotes_url |
26 | %li= link_to_unless_current "Stats", stats_quotes_url | 26 | %li= link_to_unless_current "Stats", stats_quotes_url |
27 | %li= link_to_unless_current "Feed", latest_quotes_url(:atom) | 27 | %li= link_to_unless_current "Feed", latest_quotes_url(:atom) |
28 | - if user_signed_in? | ||
29 | %li= link_to_unless_current "Admin", admin_url | ||
28 | .cleardiv | 30 | .cleardiv |
29 | #page-body | 31 | #page-body |
30 | - if flash[:notice] | 32 | - if flash[:notice] |