Skip to content

Conversation

@byroot
Copy link
Member

@byroot byroot commented Sep 22, 2025

Fix: #55706

javascript_include_tag "application", type: :module now behaves
the same as javascript_include_tag "application", type: "module"

Fix: rails#55706

`javascript_include_tag "application", type: :module` now behaves
the same as `javascript_include_tag "application", type: "module"`
@rails-bot rails-bot bot added the actionview label Sep 22, 2025
@byroot byroot merged commit 4e72506 into rails:main Sep 22, 2025
2 of 3 checks passed
byroot added a commit that referenced this pull request Sep 22, 2025
Fix javascript_include_tag `type:` option to accept symbols
byroot added a commit that referenced this pull request Sep 22, 2025
Fix javascript_include_tag `type:` option to accept symbols
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using type: :module in javascript_include_tag - Using a symbol leads to unexpected results

1 participant