2010年1月14日星期四

[fw-mvc] Zend_Rest_Route and application.ini

Hello,

How do I add a Zend_Rest_Route route to my application.ini? I want it to only match one controller in the default module.

Right now I have this but it doesn't seem right.

resources.router.routes.rest.type = "Zend_Rest_Route"
resources.router.routes.rest.defaults.controller = "images"

Thanks!

--
Hector

没有评论: