Skip to content

Conversation

@afrase
Copy link

@afrase afrase commented Mar 6, 2024

Hello,

This PR updates the turbo_frame_tag and turbo_stream_action_tag helpers to support passing a class argument in the same way ActionView::RecordIdentifier#dom_id does.

I updated the methods to also check for a Class since dom_id essentially does that.

I didn't see any contributor docs so I'm not sure if I missed something.
Thanks.

Updated turbo_stream_action_tag and turbo_frame_tag helpers to accept a Model Class as their target.
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