From 4e5edef4dfde5d04dc806064ca382ee525fcf10e Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Mon, 6 Oct 2025 12:43:05 +0200 Subject: [PATCH] Invalidate cache when there are higlights --- app/models/user/day_timeline.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user/day_timeline.rb b/app/models/user/day_timeline.rb index 69b4f6155..70043ebb4 100644 --- a/app/models/user/day_timeline.rb +++ b/app/models/user/day_timeline.rb @@ -46,7 +46,7 @@ class User::DayTimeline end def cache_key - ActiveSupport::Cache.expand_cache_key [ user, filter, day.to_date, events, Workflow.all ], "day-timeline" + ActiveSupport::Cache.expand_cache_key [ user, filter, day.to_date, events, Workflow.all, weekly_highlights ], "day-timeline" end private