Permalink
Browse files

Merge pull request #2748 from guilleiguaran/assets-version-config

Add config.assets.version to config/application.rb
  • Loading branch information...
2 parents 602a3c2 + b0f3063 commit eaea03b668366a7d5939c555bbd0de87c2147e67 @tenderlove tenderlove 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 eaea03b

Please sign in to comment.