I am working on a Rails app that declares a :mobile format for iPhone and Android and serves up show.mobile.haml for mobile and show.html.haml for web (for example).
The mobile request format obviously uses application.mobile.haml and web uses application.html.haml - but both layouts are the same, only the views differ.
My question is - how do I use a single application layout for both the mobile and html request formats? Have dug through the Rails API documentation and can't seem to find an obvious solution.