Fix Action-Caching

Rails 2.2 changed how caching is configured. Fix things so that Instiki
(again) uses filesystem caching.
This commit is contained in:
Jacques Distler 2008-11-29 00:43:54 -06:00
parent b209ad2397
commit 756e8aa93a

View file

@ -42,7 +42,7 @@ Rails::Initializer.run do |config|
# Enable page/fragment caching by setting a file-based store # Enable page/fragment caching by setting a file-based store
# (remember to create the caching directory and make it readable to the application) # (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 # Activate observers that should always be running
config.active_record.observers = :page_observer config.active_record.observers = :page_observer