From b629e21515d54cf933d9167003b2a08d57192c80 Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 24 Jul 2023 16:06:32 +0200 Subject: [PATCH] Fix unexpected redirection to /explore after sign-in (#26143) --- app/controllers/auth/sessions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb index 1380e6f283728..06a3deee2baef 100644 --- a/app/controllers/auth/sessions_controller.rb +++ b/app/controllers/auth/sessions_controller.rb @@ -108,7 +108,7 @@ def set_body_classes end def home_paths(resource) - paths = [about_path] + paths = [about_path, '/explore'] paths << short_account_path(username: resource.account) if single_user_mode? && resource.is_a?(User)