Upon thinking about this, I think your solution will address the base layout, from which each view extends. Right?
What I want is that there are different views for (for instance) each function + Index: view/default/index.html, view/default/index.ipad.html, view/ default/index.mobile.html + Show_item: view/default/show_item.html, view/default/ show_item.ipad.html, etc. I think your solution works if the base layout captures entirely differences in view in different platforms. On Jan 3, 10:33 pm, Bruno Rocha <rochacbr...@gmail.com> wrote: >> I already do something like this. >> if 'iPad' in request.env.http_user_agent: >> response.view = 'default/mobile.html'