I may be totally wrong, but my inclination would be to code it in beforeFilter() in app_controller.php... set the layout, the response type, and a flag in there
On Oct 8, 3:07 pm, Jonas <[email protected]> wrote: > Hello, > > I am creating a mobile application interface and I'd like to call the > regular webbaddresses but redirect the output to an XML view instead > of a HTML one. > > Where do I add this functionality the simplest way? Do I just make a > check in beforeFilter if it's coming in from a mobile device or is > there a better way? > > Thank you, > > Regards, > Jonas Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
