Skip to content

Commit

Permalink
Fix typo in README.md at middleware section
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelart7 committed Mar 7, 2016
1 parent 6afa41d commit e538ffb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ to the `aliases` array.

If you are going to use [Middleware](#middleware) (requires Laravel 5.1 or later) you also need to add
```php
'role' => Zizaco\Entrust\Middleware\EntrustRole::class,
'permission' => Zizaco\Entrust\Middleware\EntrustPermission::class,
'ability' => Zizaco\Entrust\Middleware\EntrustAbility::class,
'role' => \Zizaco\Entrust\Middleware\EntrustRole::class,
'permission' => \Zizaco\Entrust\Middleware\EntrustPermission::class,
'ability' => \Zizaco\Entrust\Middleware\EntrustAbility::class,
```
to `routeMiddleware` array in `app/Http/Kernel.php`.

Expand Down

0 comments on commit e538ffb

Please sign in to comment.