Restore streams since we rely on those for deleting boosts

https://app.fizzy.do/5986089/cards/2811
This commit is contained in:
Jorge Manrubia
2025-11-05 21:29:57 +01:00
parent 05eba71552
commit b78ca68b2b
3 changed files with 3 additions and 9 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
class Card < ApplicationRecord
include Assignable, Attachments, Broadcastable, Closeable, Colored, Entropic,
Eventable, Golden, Mentions, Multistep, Pinnable, Postponable, Promptable,
include Assignable, Attachments, Closeable, Colored, Entropic, Eventable,
Golden, Mentions, Multistep, Pinnable, Postponable, Promptable,
Readable, Searchable, Stallable, Statuses, Taggable, Triageable, Watchable
belongs_to :board, touch: true
-7
View File
@@ -1,7 +0,0 @@
module Card::Broadcastable
extend ActiveSupport::Concern
included do
broadcasts_refreshes
end
end
+1
View File
@@ -11,6 +11,7 @@
</div>
<% end %>
<%= turbo_stream_from @card %>
<%= turbo_stream_from @card, :activity %>
<div data-controller="beacon lightbox" data-beacon-url-value="<%= card_reading_path(@card) %>">