Hi,
I'm developing a mobile site that needs to be able to use either XHTML or WML, depending on the device capabilities.
I'd like to keep the same controllers and models, but am unsure of the best way to achieve switching the output format.
The way that seems logical would be to switch views. I can't see how to do this, though, and I'm not certain it's the best practice.
The other option I can think of would be to have logic in the view to decide which to output, but that seems very messy.
Any advice is appreciated, thanks!