Skip to content

Commit c38130d

Browse files
committed
fix typos
1 parent fc84dd2 commit c38130d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/channels/turbo/streams/broadcasts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def broadcast_prepend_to(*streamables, **opts)
3434
end
3535

3636
def broadcast_refresh_to(*streamables, **attributes)
37-
broadcast_stream_to(*streamables, content: turbo_stream_refresh_tag(** attributes))
37+
broadcast_stream_to(*streamables, content: turbo_stream_refresh_tag(**attributes))
3838
end
3939

4040
def broadcast_action_to(*streamables, action:, target: nil, targets: nil, attributes: {}, **rendering)

app/models/concerns/turbo/broadcastable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def broadcast_prepend(target: broadcast_target_default, **rendering)
379379
# # Sends <turbo-stream action="refresh"></turbo-stream> to the stream named "identity:2:clearances"
380380
# clearance.broadcast_refresh_to examiner.identity, :clearances
381381
def broadcast_refresh_to(*streamables, **attributes)
382-
Turbo::StreamsChannel.broadcast_refresh_to(*streamables, ** attributes) unless suppressed_turbo_broadcasts?
382+
Turbo::StreamsChannel.broadcast_refresh_to(*streamables, **attributes) unless suppressed_turbo_broadcasts?
383383
end
384384

385385
# Same as <tt>#broadcast_refresh_to</tt>, but the designated stream is automatically set to the current model.

0 commit comments

Comments
 (0)