From 8ced1f59e628365feb0b1edb97890d2c41a2c6c2 Mon Sep 17 00:00:00 2001 From: Finn Bacall Date: Thu, 3 Oct 2024 14:07:18 +0100 Subject: [PATCH] Clear request store cache if a setting is changed --- lib/seek/config.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/seek/config.rb b/lib/seek/config.rb index a1ad2605fa..7a18fcef3f 100644 --- a/lib/seek/config.rb +++ b/lib/seek/config.rb @@ -633,6 +633,7 @@ def self.settings_cache end def self.clear_cache + RequestStore.delete(:config_cache) cache_store.delete(cache_key) end