Mercurial > hg > soundsoftware-site
changeset 1079:413d1d9c3efa luisf
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 21 Nov 2012 18:16:32 +0000 |
parents | b98e55985cb7 (current diff) b665182d9dd9 (diff) |
children | c03a6c3c4db9 |
files | |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/config/environment.rb Wed Nov 21 16:04:55 2012 +0000 +++ b/config/environment.rb Wed Nov 21 18:16:32 2012 +0000 @@ -36,7 +36,10 @@ # Enable page/fragment caching by setting a file-based store # (remember to create the caching directory and make it readable to the application) - # config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache" + config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache" + + # And for direct uses of the cache + config.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache" # Activate observers that should always be running # config.active_record.observers = :cacher, :garbage_collector