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:
parent
b209ad2397
commit
756e8aa93a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue