Skip to content

Instantly share code, notes, and snippets.

@Streemo
Created December 5, 2014 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Streemo/3589de15a0399e2960e9 to your computer and use it in GitHub Desktop.
Save Streemo/3589de15a0399e2960e9 to your computer and use it in GitHub Desktop.
Router.map(function(){
this.route('route1', {
path: '/',
template: 'subscriptions',
action: function(){
this.render();
}
});
this.route('route2', {
path: '/files/*',
template: 'home',
action: function(){
this.render();
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment