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

Document explicitly that {{newsUrl}}-style Handlebars helpers can take arguments #96

Open
wizonesolutions opened this issue Jun 19, 2013 · 1 comment

Comments

@wizonesolutions
Copy link

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 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.

@mitar
Copy link

mitar commented Jul 3, 2013

+1

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

No branches or pull requests

2 participants