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

[DOC release] fix passing params to named blocks examples #19530

Merged
merged 1 commit into from May 12, 2021

Conversation

chrisgame
Copy link
Contributor

I tried following the docs when first trying to pass parameters to named blocks.
Currently the docs state {{yield to="title" @person.name}} as being valid but this gave me an error.
I think the to= needs to be the last argument so the examples should be {{yield @person.name to="title"}}

Copy link
Contributor

@locks locks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you are correct! Thank you for taking notice and helping us correct the problem :)

@locks locks enabled auto-merge May 12, 2021 00:21
@locks locks merged commit 5d2f742 into emberjs:master May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants