]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Fix routing of changeset feed
[rails.git] / config / environments / production.rb
index b47013a8a89f4be917f2767f0e8acae34c22fe6f..3557d8d8b90a5e0bfbcca736a234ff5e2aceb3a3 100644 (file)
@@ -61,6 +61,9 @@ OpenStreetMap::Application.configure do
     config.cache_store = :mem_cache_store, MEMCACHE_SERVERS, { :namespace => "rails:cache" }
   end
 
+  # Configure caching of static assets
+  config.action_controller.page_cache_directory = Rails.public_path
+
   # Enable serving of images, stylesheets, and JavaScripts from an asset server.
   # config.action_controller.asset_host = "http://assets.example.com"