diff --git a/src/Illuminate/Foundation/Support/Providers/AuthServiceProvider.php b/src/Illuminate/Foundation/Support/Providers/AuthServiceProvider.php index 08295bbb6dad..02d3388fdf05 100644 --- a/src/Illuminate/Foundation/Support/Providers/AuthServiceProvider.php +++ b/src/Illuminate/Foundation/Support/Providers/AuthServiceProvider.php @@ -14,6 +14,18 @@ class AuthServiceProvider extends ServiceProvider */ protected $policies = []; + /** + * Register the application's policies. + * + * @return void + */ + public function register() + { + $this->booting(function () { + $this->registerPolicies(); + }); + } + /** * Register the application's policies. *