From 20f2479b33bc548c4736cdc1ceffde6e3af3a31d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 21 Oct 2023 22:52:41 -0400 Subject: Added quote editing --- app/views/layouts/quotes.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views/layouts/quotes.html.haml') 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 @@ %body #wrap %header#banner - %h1#banner-title= link_to "The Four Island Quotes DB", root_path + %h1#banner-title= link_to "The Four Island Quotes DB", quotes_url #banner-abbr FIQDB .cleardiv %nav#top-bar @@ -25,6 +25,8 @@ %li= link_to_unless_current "Tags", tags_quotes_url %li= link_to_unless_current "Stats", stats_quotes_url %li= link_to_unless_current "Feed", latest_quotes_url(:atom) + - if user_signed_in? + %li= link_to_unless_current "Admin", admin_url .cleardiv #page-body - if flash[:notice] -- cgit 1.4.1