diff options
Diffstat (limited to 'app/controllers/errorController.php')
| -rw-r--r-- | app/controllers/errorController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/errorController.php b/app/controllers/errorController.php index 3b6f202ab..092609280 100644 --- a/app/controllers/errorController.php +++ b/app/controllers/errorController.php @@ -2,8 +2,6 @@ class ErrorController extends ActionController { public function indexAction () { - View::prependTitle (Translate::t ('error') . ' - '); - switch (Request::param ('code')) { case 403: $this->view->code = 'Error 403 - Forbidden'; @@ -22,5 +20,7 @@ class ErrorController extends ActionController { } $this->view->logs = Request::param ('logs'); + + View::prependTitle ($this->view->code . ' - '); } } |
