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
709 stars 195 forks source link

breaks assets pipeline #25

Closed tvdeyen closed 12 years ago

tvdeyen commented 12 years ago

If I add has_mobile_fu to my ApplicationController the link to the main stylesheet is set to /stylesheets/application.css in my application.html.erb layout.

If I remove has_mobile_fu from my ApplicationController it is the default Rails 3.1 /assets/stylesheets/application.css

tvdeyen commented 12 years ago

Ok, forget it. It was using the mobile-fu gem. And this one depends on rack-mobile-detect. This seems to break it.

alvesoaj commented 8 years ago

What was the solution?