diff --git a/app/channels/turbo/streams/broadcasts.rb b/app/channels/turbo/streams/broadcasts.rb index 28c57510..ea63df01 100644 --- a/app/channels/turbo/streams/broadcasts.rb +++ b/app/channels/turbo/streams/broadcasts.rb @@ -38,8 +38,8 @@ def broadcast_refresh_to(*streamables, **opts) end def broadcast_action_to(*streamables, action:, target: nil, targets: nil, attributes: {}, **rendering) - broadcast_stream_to *streamables, content: turbo_stream_action_tag( - action, target: target, targets: targets, template: render_broadcast_action(rendering), **attributes + broadcast_stream_to(*streamables, content: turbo_stream_action_tag( + action, target: target, targets: targets, template: render_broadcast_action(rendering), **attributes) ) end