(on Thursday, 14 January 2010, 10:57 AM -0800):
> 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"
Right now, you can't; there are some inconsistencies in its definition
that make creation via config next to impossible. I'm working with
another contributor on fixes, but they are proving hard to reconcile
with the current API. Keep an eye on the lists for further progress.
--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
没有评论:
发表评论