Renamed the field and made some improvements
This commit is contained in:
parent
e648e50d90
commit
013dde75ae
8 changed files with 17 additions and 16 deletions
|
@ -35,7 +35,7 @@ class MaintenanceMiddleware
|
|||
$server = $request->attributes->get('server');
|
||||
$node = $server->getRelation('node');
|
||||
|
||||
if ($node->maintenance) {
|
||||
if ($node->maintenance_mode) {
|
||||
return $this->response->view('errors.maintenance');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue