First fixed

This commit is contained in:
Xavier J 2016-11-14 17:33:45 +01:00
parent ec53f64a64
commit d7fdf22abb
24 changed files with 322 additions and 335 deletions

View file

@ -9,6 +9,9 @@ Rails.application.configure do
# Do not eager load code on boot.
config.eager_load = false
config.public_file_server.enabled = true
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false