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

Also pass local_assigns to strict locals templates #52205

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

casperisfine
Copy link
Contributor

Closes: #52162

If one of the locals conflict with a keyword, typically class.

The potentially confusing part however is that if you define a default value, local_assigns won't respect it.

cc @bensheldon @rafaelfranca

If one of the locals conflict with a keyword, typically `class`.

The potentially confusing part however is that if you define a default
value, `local_assigns` won't respect it.
@rails-bot rails-bot bot added the actionview label Jun 24, 2024
@byroot byroot merged commit 1690a3e into rails:main Jun 24, 2024
2 of 3 checks passed
byroot added a commit that referenced this pull request Jun 24, 2024
Also pass `local_assigns` to strict locals templates
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.

None yet

2 participants