~cytrogen/masto-fe

b629e21515d54cf933d9167003b2a08d57192c80 — Claire 2 years ago 3cbc69f
Fix unexpected redirection to /explore after sign-in (#26143)

1 files changed, 1 insertions(+), 1 deletions(-)

M app/controllers/auth/sessions_controller.rb
M app/controllers/auth/sessions_controller.rb => app/controllers/auth/sessions_controller.rb +1 -1
@@ 108,7 108,7 @@ class Auth::SessionsController < Devise::SessionsController
  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)