Open bobanj opened 13 years ago
+1 to this. The .mobile render does not render any kind of layout. Even with passing the option to render the layout
-1 to this. A quick read of the code and it looks like mobile foo just sets the format as it should. Its up to rails to pick the template based on the format and thats not broken. make sure you have layout.mobile.erb and not layout.html.erb like I did.
This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.
See #40.
I've installed mobile_fu on rails 3.0.7, but it seams that it does not load application.html.haml or application.mobile.haml layout