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
+1 -1
View File
@@ -28,7 +28,7 @@ class StatusPageRoutes
public function map(Registrar $router)
{
$router->get('/', [
'middleware' => 'app.hasSetting',
'middleware' => ['app.hasSetting', 'localize'],
'setting' => 'app_name',
'as' => 'status-page',
'uses' => 'HomeController@showIndex',