From 21e9e18079640af21b4596d87997a0ab33bf681d Mon Sep 17 00:00:00 2001 From: "alfitra.20" Date: Sat, 21 Oct 2017 23:21:22 +0300 Subject: [PATCH 1/2] Fix the signup which still show up when the user already signed in the sign button doesn't have any flag to restrick the button to disappear when the user already logged in. the additional condition put for the sign up button to show up, only when the user is not signed in --- app/views/layouts/application.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index c19683f..588c899 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -15,7 +15,9 @@ <%= link_to "Book Review", root_path, class: "navbar-brand" %>