To the list:

This worked:
$route = new Zend_Controller_Router_Route('testing/:controller/:action/*',array('controller' => 'test', 'action' => 'index'));
$router->addRoute('testing', $route);
$controller->addControllerDirectory(make_private_path('/app/controllers/testing'));

However,  there are now two paths that work

  1.  * /testing/test/show*
  2.   */test/show*

Both go to the same Controller/Action. Is this a feature or a bug?

This also worked:
$controller->getDispatcher()->setWordDelimiter('-');
Allows one to map:  */test/show-user* to TestController::showUserAction

Very nice:)

BTW I'm using Zend.70

pat

Reply via email to