diff --git a/web/app/views/shared/_google_login.html.slim b/web/app/views/shared/_google_login.html.slim index 676749773..d5c0592fd 100644 --- a/web/app/views/shared/_google_login.html.slim +++ b/web/app/views/shared/_google_login.html.slim @@ -1,4 +1,4 @@ --google_auth = JamRuby::UserAuthorization.google_auth(current_user).first +-google_auth = (current_user.nil?) ? nil : JamRuby::UserAuthorization.google_auth(current_user).first -if google_auth span.signed_in_to_google="(Signed in)" -else