aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/dummy/config/environments/development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/test/dummy/config/environments/development.rb')
-rw-r--r--activestorage/test/dummy/config/environments/development.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/test/dummy/config/environments/development.rb b/activestorage/test/dummy/config/environments/development.rb
index 503375dede..5f3d463210 100644
--- a/activestorage/test/dummy/config/environments/development.rb
+++ b/activestorage/test/dummy/config/environments/development.rb
@@ -13,12 +13,12 @@ Rails.application.configure do
config.consider_all_requests_local = true
# Enable/disable caching. By default caching is disabled.
- if Rails.root.join('tmp/caching-dev.txt').exist?
+ if Rails.root.join("tmp/caching-dev.txt").exist?
config.action_controller.perform_caching = true
config.cache_store = :memory_store
config.public_file_server.headers = {
- 'Cache-Control' => "public, max-age=#{2.days.seconds.to_i}"
+ "Cache-Control" => "public, max-age=#{2.days.seconds.to_i}"
}
else
config.action_controller.perform_caching = false