]> git.openstreetmap.org Git - rails.git/commitdiff
Disable asset tagging to get better caching of assets.
authorTom Hughes <tom@compton.nu>
Fri, 6 Jul 2007 13:47:13 +0000 (13:47 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 6 Jul 2007 13:47:13 +0000 (13:47 +0000)
config/environment.rb

index c109a5d87124618d885f021f50ad211bcb40f500..48af192aadc09985080a5ad0584281d3855eff03 100644 (file)
@@ -4,6 +4,9 @@
 # you don't control web/app server and can't set it the proper way
 ENV['RAILS_ENV'] ||= 'production'
 
+# Don't add asset tags
+ENV["RAILS_ASSET_ID"] = ''
+
 # Specifies gem version of Rails to use when vendor/rails is not present
 RAILS_GEM_VERSION = '1.2.3'