Fix Action-Caching

Rails 2.2 changed how caching is configured. Fix things so that Instiki
(again) uses filesystem caching.
master
Jacques Distler 2008-11-29 00:43:54 -06:00
parent b209ad2397
commit 756e8aa93a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Rails::Initializer.run do |config|
# 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}/cache"
config.cache_store = :file_store, "#{RAILS_ROOT}/cache"
# Activate observers that should always be running
config.active_record.observers = :page_observer