You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: