Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 9, 2021
1 parent 2570c1b commit 4ae2573
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions middleware.md
Expand Up @@ -146,6 +146,9 @@ When assigning middleware, you may also pass the fully qualified class name:
//
})->middleware(EnsureTokenIsValid::class);

<a name="excluding-middleware"></a>
#### Excluding Middleware

When assigning middleware to a group of routes, you may occasionally need to prevent the middleware from being applied to an individual route within the group. You may accomplish this using the `withoutMiddleware` method:

use App\Http\Middleware\EnsureTokenIsValid;
Expand Down

0 comments on commit 4ae2573

Please sign in to comment.