Skip to content

Commit

Permalink
Explain no-typo in Middleware namespace
Browse files Browse the repository at this point in the history
Closes #2588
  • Loading branch information
drbyte authored Dec 29, 2023
1 parent 6e5d59c commit 16b8b47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/basic-usage/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ protected $middlewareAliases = [

**YOU SHOULD ALSO** set [the `$middlewarePriority` array](https://laravel.com/docs/master/middleware#sorting-middleware) to include this package's middleware before the `SubstituteBindings` middleware, else you may get *404 Not Found* responses when a *403 Not Authorized* response might be expected.

> See a typo? Note that since v6 the 'Middleware' namespace is singular. Prior to v6 it was 'Middlewares'. Time to upgrade your app!
## Middleware via Routes

Expand Down

0 comments on commit 16b8b47

Please sign in to comment.