Friday, July 6, 2012

Regroup actions from different controllers (API related) ?

Hi everyone !

I'm asking here because you guys are reactive and know your business :D

I have a simple question. I have an app, and I'm making a public API (xml and json) thanks to request handling.

But I have a question. I have actions from different controllers (Users/view/xml/action.ctp, Posts/view/xml/action2.ctp...) and I would have liked to know if there was a way to "regroup" them with  single url action, like app.com/API/action.xml, app.com/API/action2.xml... 

What's the best way to do this ?

Thanks a lot !

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: