protected function _initAdresy()
{
$router =
$this->bootstrap('frontController')
->getResource('frontController')
->getRouter()
$route = new Zend_Controller_Router_Route_Static(
'/jada-jada-misie.html',
array('controller' => 'piosenka', 'action' => 'jada-jada-misie')
);
$router->addRoute('misie', $route);
}
Listing 10.11. Konfiguracja adresu jada-jada-misie.html metodą _initAdresy()
Rozdział 10. Zasoby