From 652ec68e9cc012796c73a69f373a2c170c83a7bc Mon Sep 17 00:00:00 2001 From: Jose Farias Date: Thu, 24 Oct 2024 17:48:32 -0600 Subject: [PATCH] Threadables should thread entry --- app/models/concerns/threadable.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/concerns/threadable.rb b/app/models/concerns/threadable.rb index 2174d1193..410012a31 100644 --- a/app/models/concerns/threadable.rb +++ b/app/models/concerns/threadable.rb @@ -7,5 +7,7 @@ module Threadable has_one :thread_entry, as: :threadable, class_name: "Bubble::Thread::Entry" after_create -> { create_thread_entry! thread: thread } + after_update -> { thread_entry.touch } + after_touch -> { thread_entry.touch } end end