Merge pull request #1506 from basecamp/boosts

Restore streams since we rely on those for deleting boosts
This commit is contained in:
Jorge Manrubia
2025-11-05 21:32:32 +01:00
committed by GitHub
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) %>">