diff config/application.rb @ 54:e8920b00035c

Moved cache to dedicated directory.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 04:37:41 +0700
parents 86948069ef60
children bfa612a1d56f
line wrap: on
line diff
--- a/config/application.rb	Thu Oct 04 04:36:49 2012 +0700
+++ b/config/application.rb	Thu Oct 04 04:37:41 2012 +0700
@@ -68,5 +68,8 @@
 
     # Version of your assets, change this if you want to expire all your assets
     config.assets.version = '1.0'
+
+    # Save cache in different location to avoid collision.
+    config.action_controller.page_cache_directory = config.root.join('public', 'cache')
   end
 end