Skip to content

Commit

Permalink
Fix unexpected redirection to /explore after sign-in (#26143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Jul 24, 2023
1 parent 3cbc69f commit b629e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/auth/sessions_controller.rb
Expand Up @@ -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)

Expand Down

0 comments on commit b629e21

Please sign in to comment.