Actually, we need to use hasSetting

This commit is contained in:
James Brooks
2015-09-21 11:11:02 +01:00
parent 92ab7c8451
commit a9a5eef275
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ class StatusPageRoutes
public function map(Registrar $router)
{
$router->group([
'middleware' => 'app.isSetup',
'middleware' => 'app.hasSetting',
'setting' => 'app_name',
], function ($router) {
$router->get('/', [
'as' => 'status-page',