Initial upgrade to Rails 5.1

This commit is contained in:
Matt Rogers 2018-11-11 11:40:22 -06:00
parent d24b9d9aa1
commit 1ccf96ae83
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
13 changed files with 118 additions and 60 deletions

View file

@ -15,7 +15,7 @@ Rails.application.configure do
# Configure public file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true
config.public_file_server.headers = {
'Cache-Control' => 'public, max-age=3600'
'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
}
# Show full error reports and disable caching.