Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The application's route middleware.
- *
- * These middleware may be assigned to groups or used individually.
- *
- * @var array
- */
- protected $routeMiddleware = [
- ....
- 'role' => \Zizaco\Entrust\Middleware\EntrustRole::class,
- 'permission' => \Zizaco\Entrust\Middleware\EntrustPermission::class,
- 'ability' => \Zizaco\Entrust\Middleware\EntrustAbility::class,
- ];
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement