From 5dddde5dee7beecfb6824b208c4fb86c781a27f9 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 21 Oct 2023 00:55:24 -0400 Subject: Added quote submission (and random) --- app/views/layouts/quotes.html.haml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/layouts') diff --git a/app/views/layouts/quotes.html.haml b/app/views/layouts/quotes.html.haml index 6d89d91..5555248 100644 --- a/app/views/layouts/quotes.html.haml +++ b/app/views/layouts/quotes.html.haml @@ -18,6 +18,9 @@ %li= link_to_unless_current "Home", quotes_url %li= link_to_unless_current "Latest", latest_quotes_url %li= link_to_unless_current "Top", top_quotes_url + %li= link_to "Random", random_quotes_url + - if user_signed_in? + %li= link_to_unless_current "Submit", new_quote_url %li= link_to_unless_current "Tags", tags_quotes_url %li= link_to_unless_current "Feed", latest_quotes_url(:atom) .cleardiv -- cgit 1.4.1