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

[BUGFIX release] Allow {{render}} helper to give template to view. #10822

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 3, 2015

The fix for #10710 (#10712) caused a regression for folks that depended on the prior behavior where the {{render}} helper always gave the view it finds a template with the name specified.

This restores that behavior.

Fixes #10760.

@rwjblue rwjblue force-pushed the do-not-require-template-name-in-render-helper branch from e47be82 to 6a17c18 Compare April 3, 2015 21:03
rwjblue added a commit that referenced this pull request Apr 3, 2015
…n-render-helper

[BUGFIX release] Allow `{{render}}` helper to give template to view.
@rwjblue rwjblue merged commit c7f223b into emberjs:master Apr 3, 2015
@rwjblue rwjblue deleted the do-not-require-template-name-in-render-helper branch April 3, 2015 23:59
@mk-conn
Copy link

mk-conn commented Apr 8, 2015

I'm wondering if {{render "templatename/subtemplateName" model}} should work? in 1.10 this works for me, in 1.11.1 not - expected behaviour or still buggy?

@rwjblue
Copy link
Member Author

rwjblue commented Apr 8, 2015

@mk-conn - Please open a new issue with detailed description and a demo so we can track it...

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.

{{render 'navigation'}} won't render navigation.hbs if navigation view is present
2 participants