brendanlim / mobile-fu

Automatically detect mobile requests from mobile devices in your Rails application.
http://www.intridea.com/2008/7/21/mobilize-your-rails-application-with-mobile-fu
MIT License
707 stars 195 forks source link

Does not load layout #19

Open bobanj opened 13 years ago

bobanj commented 13 years ago

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

stewartmatheson commented 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

stewartmatheson commented 13 years ago

-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.

benlangfeld commented 10 years ago

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.