Skip to content
Snippets Groups Projects
Commit dae65b93 authored by Demian Katz's avatar Demian Katz
Browse files

Proper status code for unavailable message.

parent becae3af
No related merge requests found
...@@ -47,6 +47,7 @@ class ErrorController extends AbstractActionController ...@@ -47,6 +47,7 @@ class ErrorController extends AbstractActionController
*/ */
public function unavailableAction() public function unavailableAction()
{ {
// no special action necessary $this->getResponse()->setStatusCode(503);
return new \Zend\View\Model\ViewModel();
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment