Browse Source

Rename middleware.

Taylor Otwell 10 years ago
parent
commit
d2aebd283e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Kernel.php

+ 1 - 1
app/Http/Kernel.php

@@ -11,7 +11,7 @@ class Kernel extends HttpKernel {
 	 * @var array
 	 */
 	protected $middleware = [
-		'Illuminate\Foundation\Http\Middleware\UnderMaintenance',
+		'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
 		'Illuminate\Cookie\Middleware\EncryptCookies',
 		'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
 		'Illuminate\Session\Middleware\StartSession',