Configure the page cache
This commit is contained in:
parent
537cd6a52c
commit
b0bc04abf1
1 changed files with 2 additions and 0 deletions
2
config/initializers/page_cache.rb
Normal file
2
config/initializers/page_cache.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Set the page cache directory
|
||||
Rails.application.config.action_controller.page_cache_directory = "#{Rails.root.to_s}/public"
|
Loading…
Add table
Add a link
Reference in a new issue