Skip to content

Commit

Permalink
Merge pull request #689 from yahonda/address_splat_warning
Browse files Browse the repository at this point in the history
Address `warning: `*' interpreted as argument prefix`
  • Loading branch information
brunoprietog authored Oct 2, 2024
2 parents 1aa7ba9 + fad15fa commit 4bbe142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/channels/turbo/streams/broadcasts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4bbe142

Please sign in to comment.