i have a controller with several actions:
user/add
user/edit
user/delete
user/view
i set up routing so that user/randomusername would redirect to user/view
but now if i type any of the other 3 actions into the url, it goes to user/view!
$FrontController = Zend_Controller_Front::getInstance();
$Router = $FrontController->getRouter();
$Router->addRoute("viewuser", new Zend_Controller_Router_Route(
"user/:username", array (
"username" => "Spongebob",
"controller" => "user",
"action"=> "view"
)));
surely i dont have to add routes for the other actions? they worked fine before i added this....