From 229c800971d889cf9b3c84a5e2ed39f8b571e943 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 6 Jun 2024 11:54:46 -0400 Subject: [PATCH] format --- config/environments/development.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 5fc5a6ed961..af5be44b4be 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -26,7 +26,9 @@ Rails.application.configure do config.action_controller.enable_fragment_cache_logging = true config.cache_store = :redis_cache_store, REDIS_CACHE_PARAMS - config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{2.days.to_i}" } + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{2.days.to_i}", + } else config.action_controller.perform_caching = false