Invalidate previews when workflows themselves are changed

This commit is contained in:
Jorge Manrubia
2025-09-18 11:02:49 +02:00
parent 690734d8ab
commit b625ad4530
+1 -1
View File
@@ -17,7 +17,7 @@ module Card::Cacheable
end
def for_preview(*other)
[ card, card.workflow, card.collection.entropy_configuration, card.collection.publication, *other ]
[ card, card.workflow, Workflow.all, card.collection.entropy_configuration, card.collection.publication, *other ]
end
end
end