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

Wrapping {{#unless}} around {{yield}} does not pass through Controller properties #10497

Closed
alvincrespo opened this issue Feb 20, 2015 · 2 comments

Comments

@alvincrespo
Copy link
Contributor

When we wrap an {{#unless}} around the {{yield}} helper, we seem to be losing the context since no controller properties are being passed through to the rendered template.

    {{#unless amIDone}}
      {{yield}}
    {{/unless}}

JSBin: http://emberjs.jsbin.com/cefahe

@ebryn
Copy link
Member

ebryn commented Feb 20, 2015

This looks like a duplicate of #10402. Has been fixed in canary, beta, and there will be a 1.10.1 release with this fix.

@ebryn ebryn closed this as completed Feb 20, 2015
@alvincrespo
Copy link
Contributor Author

@ebryn Thanks for your work on this!

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

No branches or pull requests

2 participants