Merge pull request #1506 from basecamp/boosts
Restore streams since we rely on those for deleting boosts
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
module Card::Broadcastable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
broadcasts_refreshes
|
||||
end
|
||||
end
|
||||
@@ -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) %>">
|
||||
|
||||
Reference in New Issue
Block a user