Skip to content

Instantly share code, notes, and snippets.

@filipenevola
Created July 12, 2017 13:51
Show Gist options
  • Select an option

  • Save filipenevola/a1dfb3b19351fdef30f4e281a2e26e7b to your computer and use it in GitHub Desktop.

Select an option

Save filipenevola/a1dfb3b19351fdef30f4e281a2e26e7b to your computer and use it in GitHub Desktop.
Router.route('/post/:_id', function () {
this.render('Post', {
data: function () {
return Posts.findOne({_id: this.params._id});
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment