diff --git a/config/environments/development.rb b/config/environments/development.rb index 3cbfd12b7..765209d1a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -19,8 +19,9 @@ if Rails.root.join("tmp/caching-dev.txt").exist? config.action_controller.perform_caching = true - if ENV["REDIS_CACHE_URL"] # rubocop:disable Style/ConditionalAssignment + if ENV["REDIS_CACHE_URL"] config.cache_store = :redis_cache_store, { url: ENV.fetch("REDIS_CACHE_URL", nil) } + config.session_store(:cache_store, key: "decidim_session") else config.cache_store = :memory_store end