From adf0e7ae72b0e0f8a49bc3cb5a8921bc7ad75975 Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Sun, 17 Jan 2021 00:57:21 -0500 Subject: [PATCH] Logging out takes you to the home page. --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 91a2256b..f621bff5 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -52,7 +52,7 @@ class ApplicationController < ActionController::Base end def after_sign_out_path_for(_resource_or_scope) - new_user_session_path + root_path end protected