2009年11月12日星期四

[fw-mvc] Problem with Route

Hello everyone

I am following the book Beginning Zend Framework of Armando Padilla.
The it is suggested to create an alternative route:

$Router->addRoute("artistprofile",
new Zend_Controller_Router_Route
(
"artist/:artistname",
array(
"artistname" => "The Smits",
"controller" => "artist",
"action" => "profile"
)));


But now when i do:


It looks for the profile action in stead of the new action.

What is going wrong?

Thanks,

J sanders

没有评论: