Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change attribute string in generator method, not in template #80

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

wnm
Copy link
Contributor

@wnm wnm commented Oct 12, 2021

Sorry, I think a was a bit to quick to open a PR... while looking at the code again, I realized a better place to put that code would be in the generator, not in the template, as there is already a method called stimulus_attribute_value which changes the attribute string.

I was just about to change my PR, but it was already merged in... Sorry 😟

@dhh
Copy link
Member

dhh commented Oct 12, 2021

Even better. Thanks!

@dhh dhh merged commit 44df7ec into hotwired:main Oct 12, 2021
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.

None yet

2 participants