Permalink
Browse files

Add a default asset version to production config, this give to the us…

…ers an idea about how to use it
  • Loading branch information...
1 parent cb25537 commit b0f30631662e27b6c6fb84e69f6e9ae7cf16d666 @guilleiguaran guilleiguaran committed Aug 30, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -52,6 +52,9 @@ class Application < Rails::Application
<% unless options.skip_sprockets? -%>
# Enable the asset pipeline
config.assets.enabled = true
+
+ # Version of your assets, change this if you want to expire all your assets
+ config.assets.version = '1.0'
<% end -%>
end
end

0 comments on commit b0f3063

Please sign in to comment.