Kevin McArthur wrote:

I'm having a noroute issue with a specific route. Im trying to override the default action in the rewrite router to take :action only. $router->addRoute('defaultaction',':action', array('controller'=>'index','action' => 'index')); But this throws errors when it hits a non-routeable action, instead of calling noRouteAction instead. (ie /nonexistantaction throws

It's not a router issue but an Action functionality. Take a look at the __call method in the Zend_Controller_Action.

Matthiew is currently in the middle of preparing a revised Zend_Controller module which will probably change the way it is handled.

--
Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | 
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"War is a series of catastrophes that results in a victory." -- Georges
Clemenceau

Reply via email to