2008年8月4日星期一

[fw-mvc] Zend_Controller_Router_Route trouble

Hi,

We're in process of moving to using the Zend Framework. The routing
mechanism works great, but in order to not change our current URL
rewrite rules, I'd like to create a route like the following:

category--:id

and have it route the request to the category controller with parameter
id, so category--2345 will call the category controller with 2345 as the
value for "id". Is this possible? I tried to put this route in my
routes config file, but then it would not work.

thanks!

Yi Tang

没有评论: