Rename middleware to more "action" words.

This commit is contained in:
Taylor Otwell
2014-11-11 12:51:55 -06:00
parent d2aebd283e
commit ca2f02284c
3 changed files with 5 additions and 5 deletions

View File

@@ -11,9 +11,9 @@ class RouteServiceProvider extends ServiceProvider {
* @var array
*/
protected $middleware = [
'auth' => 'App\Http\Middleware\Authenticated',
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticatedWithBasicAuth',
'guest' => 'App\Http\Middleware\IsGuest',
'auth' => 'App\Http\Middleware\Authenticate',
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',
];
/**