Skip to content

Forward attributes to broadcast_refresh_to and broadcast_refresh_later_to - #788

Open
carldaws wants to merge 1 commit into
hotwired:mainfrom
carldaws:broadcast-refresh-forward-attributes
Open

Forward attributes to broadcast_refresh_to and broadcast_refresh_later_to#788
carldaws wants to merge 1 commit into
hotwired:mainfrom
carldaws:broadcast-refresh-forward-attributes

Conversation

@carldaws

@carldaws carldaws commented Jul 27, 2026

Copy link
Copy Markdown

#763 passes attributes from broadcast_refresh_to and broadcast_refresh_later_to to turbo_stream_refresh_tag but the model helpers which delegate to them (broadcast_refresh and broadcast_refresh_later) take no arguments.

The other broadcast methods (broadcast_replace, broadcast_append and so on) all accept attributes, so this change brings the refresh variants in line.

@carldaws carldaws changed the title Forward attributes to broadcast_refresh and broadcast_refresh_later Forward attributes to broadcast_refresh_to and broadcast_refresh_later_to Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant