Enable fragment caching in ./cache
This commit is contained in:
parent
709d28dc4b
commit
dfdc718425
|
@ -11,7 +11,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.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
|
config.action_controller.fragment_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
|
||||||
|
|
Loading…
Reference in a new issue