Large refactor of HTTP and Console stack.
This commit is contained in:
@@ -5,13 +5,6 @@ use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvi
|
||||
|
||||
class RouteServiceProvider extends ServiceProvider {
|
||||
|
||||
/**
|
||||
* The root namespace to assume when generating URLs to actions.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $rootUrlNamespace = 'App\Http\Controllers';
|
||||
|
||||
/**
|
||||
* The controllers to scan for route annotations.
|
||||
*
|
||||
@@ -23,6 +16,18 @@ class RouteServiceProvider extends ServiceProvider {
|
||||
'App\Http\Controllers\Auth\PasswordController',
|
||||
];
|
||||
|
||||
/**
|
||||
* All of the application's route middleware keys.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $middleware = [
|
||||
'auth' => 'App\Http\Middleware\AuthMiddleware',
|
||||
'auth.basic' => 'App\Http\Middleware\BasicAuthMiddleware',
|
||||
'csrf' => 'App\Http\Middleware\CsrfMiddleware',
|
||||
'guest' => 'App\Http\Middleware\GuestMiddleware',
|
||||
];
|
||||
|
||||
/**
|
||||
* Called before routes are registered.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user