I upgraded a Rails 3.0 app to Rails 3.1 which involved putting this
/*
*= require_self
*= require_tree .
*/
in the application.css file. Howeve
Another solution is to have two directories in app/assets/stylesheets
, for example, a public
directory and an admin
directory.
Then, in app/assets/stylesheets/application.css
, you can change require_tree .
to require_tree ./public
.
You might have to do something similar on the admin side. I happen to be using the Administrate gem which knows where to find its own assets.