On the project page, you give an example with Meteor.Router.showPostPath(7) for getting /post/7.
This works in the template too. {{showPostUrl 7}} will return http://localhost:3000/post/7.
Also worth documenting that arguments can be passed to the Meteor.Router.newsUrl()-style functions as well, not just the Meteor.Router.newsPath()-style ones.
I had a hunch, tried it, and it worked.
On the project page, you give an example with
Meteor.Router.showPostPath(7)
for getting/post/7
.This works in the template too.
{{showPostUrl 7}}
will returnhttp://localhost:3000/post/7
.Also worth documenting that arguments can be passed to the
Meteor.Router.newsUrl()
-style functions as well, not just theMeteor.Router.newsPath()
-style ones.