Localize the status page to the visitors lang. Closes #835

This commit is contained in:
James Brooks
2015-08-15 10:00:50 +01:00
parent 905445d0ca
commit ed09ca46b8
4 changed files with 73 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ class Kernel extends HttpKernel
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
'csrf' => 'Illuminate\Foundation\Http\Middleware\VerifyCsrfToken',
'guest' => 'CachetHQ\Cachet\Http\Middleware\RedirectIfAuthenticated',
'localize' => 'CachetHQ\Cachet\Http\Middleware\Localize',
'throttling' => 'GrahamCampbell\Throttle\Http\Middleware\ThrottleMiddleware',
];
}