tmeasday / meteor-router

MIT License
366 stars 76 forks source link

Router no longer works with 0.8.3 because Templates no longer have the .extend function #150

Open Dsyko opened 10 years ago

Dsyko commented 10 years ago

The .extend function used on line 10 of /lib/router_helpers.js is no longer available in Meteor 0.8.3 causing the Router to throw an error an nothing gets rendered.

Dsyko commented 10 years ago

You can get around this issue by doing the following: Replace use of the {{> renderPage}} helper with {{> UI.dynamic template=currentPage}}.

But you should probably change over to Iron-Router when possible.

mitar commented 10 years ago

Now:

{{> Template.dynamic template=currentPage}}