My directory structure:

application/
    albuns/
        controllers/
            IndexController.php (named Albuns_IndexController.php)
        models/
        views/


My bootstrap file:

$frontController->setControllerDirectory(array(
'default' => './application/controllers',
'albuns'  => './application/albuns/controllers'
));


In "application/albuns/controllers/IndexController.php" I have the function
"addAction()".
But, to call this I have tho use: "localhost/my_app/albuns/index/add". 
Why???

I want to use only "localhost/my_app/albuns/add", without the "/index/".






-------------------------------
Sorry for my bad english
Regards from Brasil
-------------------------------
Fábio Tadeu da Costa




-- 
View this message in context: 
http://www.nabble.com/Controller-URL-question-tf3492764s16154.html#a9755040
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to