Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix middleware not automatically registered #103

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

tonysm
Copy link
Collaborator

@tonysm tonysm commented Mar 7, 2023

Fixed

  • Use the HTTP Kernel instead of Route facade to prepend the Turbo Laravel middleware. The Turbo Middleware was previously being automatically prepended to the web route group, but something must have changed in Laravel in version 10 as it's no longer the case. Using the HTTP Kernel instead works.

@tonysm tonysm merged commit 300bacc into 1.x Mar 7, 2023
@tonysm tonysm deleted the fix-auto-binding-middleware branch March 7, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant