Skip to content

Instantly share code, notes, and snippets.

@elliotforbes
Created November 4, 2015 20:48
Show Gist options
  • Save elliotforbes/e984a015a55e0c7b7481 to your computer and use it in GitHub Desktop.
Save elliotforbes/e984a015a55e0c7b7481 to your computer and use it in GitHub Desktop.
<?php
/**
* The application's route middleware.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
'ad' => \App\Http\Middleware\AdMiddleware::class,
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment