$this->bootstrap('frontController');
$front = $this->getResource('frontController');
$router = $front->getRouter();
$router->addRoute(
'user',
new Zend_Controller_Router_Route(
'user/:username',
array(
'module' => 'default',
'controller' => 'user',
'action' => 'index'
))
);
I forgot the module in the route :)
now it works.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Acl-with-a-custom-route-doesn-t-work-tp3171768p3171780.html
Sent from the Zend Framework mailing list archive at Nabble.com.