Reputation: 79612
I'm using Rails 3.1 and I have a dynamic.css.scss.erb
in app/assets/stylesheets
that generates css from the user-configurable settings. This works really well.
If these settings change, though, I'd like to invalidate the css to force a reload of the new values.
How do I do this? Or else, what other method do I use to generate the dynamic CSS?
Upvotes: 0
Views: 368
Reputation: 901
not sure if this answers your question but
check your config/application.rb file for the following
# Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0'
Upvotes: 2