X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FIdxController.php;h=6ce7eb21f614e249472afe7fbc9a2dd019b274c0;hp=0817fe65c973250a0bc04d6bd5d81f8bcd6436aa;hb=f033354528986455d250e2ddbf43374aacede286;hpb=f35ee92c9c18e4604be3a6ed8590cff6505a3200 diff --git a/application/controllers/IdxController.php b/application/controllers/IdxController.php index 0817fe6..6ce7eb2 100644 --- a/application/controllers/IdxController.php +++ b/application/controllers/IdxController.php @@ -51,8 +51,10 @@ class IdxController extends Zend_Controller_Action $path = new Syj_Model_Path(); if (!$pathMapper->findByUrl($url, $path)) { if (is_numeric($url) and $pathMapper->hasexisted($url)) { + $this->view->message = $this->view->translate("route has been deleted"); throw new Syj_Exception_NotFound('Gone', 410); } else { + $this->view->message = $this->view->translate("route does not exist"); throw new Syj_Exception_NotFound('Not Found', 404); } }