Closed davidystephenson closed 9 years ago
In the template helper you first have to get the template instance. So whole call would be Template.instance().parent()
.
Thank you.
Sincerely,
David Y. Stephenson davidystephenson.com 910.874.8740
On Fri, Apr 24, 2015 at 6:50 PM, Mitar notifications@github.com wrote:
In the template helper you first have to get the template instance. So whole call would be Template.instance().parent().
— Reply to this email directly or view it on GitHub https://github.com/aldeed/meteor-template-extension/issues/32#issuecomment-96089382 .
I can't seem to figure out how the template.parent() method is meant to be used. Running
template.parent()
in a template helper isn't working. A simple example would be very helpful.