Skip to content

Commit 59ff50c

Browse files
committed
We can remove ad-hoc handling now that we rely on page refreshes in the card perma
1 parent c89db89 commit 59ff50c

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

app/models/card/eventable.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def event_was_created(event)
1919
def touch_last_active_at
2020
# Not using touch so that we can detect attribute change on callbacks
2121
update!(last_active_at: Time.current)
22-
broadcast_activity
2322
end
2423

2524
private
@@ -36,8 +35,4 @@ def track_title_change
3635
def create_system_comment_for(event)
3736
SystemCommenter.new(self, event).comment
3837
end
39-
40-
def broadcast_activity
41-
broadcast_render_later_to self, :activity, partial: "card/display/refresh_activity", locals: { card: self }
42-
end
4338
end

app/views/card/display/_refresh_activity.turbo_stream.erb

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)