Update the app skeleton.

This commit is contained in:
Taylor Otwell
2014-11-19 19:45:46 -06:00
parent 6b60dc6650
commit 8b70eabf39
2 changed files with 24 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel {
/**
* The application's HTTP middleware stack.
* The application's global HTTP middleware stack.
*
* @var array
*/
@@ -19,4 +19,15 @@ class Kernel extends HttpKernel {
'Illuminate\Foundation\Http\Middleware\VerifyCsrfToken',
];
/**
* The application's route middleware.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => 'App\Http\Middleware\Authenticate',
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',
];
}