Invalidate cache when there are higlights

This commit is contained in:
Jorge Manrubia
2025-10-06 12:43:05 +02:00
parent 5d0d80fd03
commit 4e5edef4df
+1 -1
View File
@@ -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