public function norouteAction($coreRoute = null) { $status = $this->getRequest()->getParam('__status__'); if (!$status instanceof Varien_Object) { $status = new Varien_Object(); } Mage::dispatchEvent('controller_action_noroute', array('action' => $this, 'status' => $status)); if ($status->getLoaded() !== true || $status->getForwarded() === true || !is_null($coreRoute)) { $this->loadLayout(array('default', 'noRoute')); $this->renderLayout(); } else { $status->setForwarded(true); $this->_forward($status->getForwardAction(), $status->getForwardController(), $status->getForwardModule(), array('__status__' => $status)); } }