Skip to content

Instantly share code, notes, and snippets.

@misutowolf
Created April 20, 2015 21:49
Show Gist options
  • Save misutowolf/7e292d6d794744391677 to your computer and use it in GitHub Desktop.
Save misutowolf/7e292d6d794744391677 to your computer and use it in GitHub Desktop.
Possible Route for App?
// Application interface (main)
Router.route('/app', function() {
this.render('/app', {
data: {
categories: function() {
return Categories.find({userId: Meteor.userId()});
},
transactions: function() {
return Transactions.find({userId: Meteor.userId()});
}
}
});
}, {
name: 'app',
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment