Rails 5.2
This commit is contained in:
parent
4642eb6c54
commit
899a83bec4
14 changed files with 171 additions and 79 deletions
|
|
@ -19,7 +19,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=#{1.hour.seconds.to_i}"
|
||||
'Cache-Control' => "public, max-age=#{1.hour.to_i}"
|
||||
}
|
||||
|
||||
# Show full error reports and disable caching.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue