Skip to content

Commit fad15fa

Browse files
committed
Address warning: *' interpreted as argument prefix`
This commit addresses the following warning appeared at Rails CI. https://buildkite.com/rails/rails/builds/112102#01924ba4-ac89-4b7b-811d-6a6d37a241a1/1308-1314 ```ruby /usr/local/bundle/gems/turbo-rails-2.0.10/app/channels/turbo/streams/broadcasts.rb:41: warning: `*' interpreted as argument prefix ``` This line has been updated via this commit and released in v2.0.10 595634e
1 parent 1aa7ba9 commit fad15fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/channels/turbo/streams/broadcasts.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def broadcast_refresh_to(*streamables, **opts)
3838
end
3939

4040
def broadcast_action_to(*streamables, action:, target: nil, targets: nil, attributes: {}, **rendering)
41-
broadcast_stream_to *streamables, content: turbo_stream_action_tag(
42-
action, target: target, targets: targets, template: render_broadcast_action(rendering), **attributes
41+
broadcast_stream_to(*streamables, content: turbo_stream_action_tag(
42+
action, target: target, targets: targets, template: render_broadcast_action(rendering), **attributes)
4343
)
4444
end
4545

0 commit comments

Comments
 (0)