Skip to content

Commit

Permalink
Update middleware.md
Browse files Browse the repository at this point in the history
Incorrect path for middleware docuemntation.
  • Loading branch information
mrpritchett authored Feb 7, 2024
1 parent d829888 commit e85087a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/basic-usage/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ protected $routeMiddleware = [
```php
protected $middlewareAliases = [
// ...
'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class,
'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class,
'role_or_permission' => \Spatie\Permission\Middlewares\RoleOrPermissionMiddleware::class,
'role' => \Spatie\Permission\Middleware\RoleMiddleware::class,
'permission' => \Spatie\Permission\Middleware\PermissionMiddleware::class,
'role_or_permission' => \Spatie\Permission\Middleware\RoleOrPermissionMiddleware::class,
];
```

Expand Down

0 comments on commit e85087a

Please sign in to comment.