Skip to content

Instantly share code, notes, and snippets.

@lamalex
Created May 20, 2013 00:11
Show Gist options
  • Save lamalex/5609663 to your computer and use it in GitHub Desktop.
Save lamalex/5609663 to your computer and use it in GitHub Desktop.
Meteor.Router.add({
'/': 'relicsList',
'/:_id': {
to: 'relicPage',
and: function(id) { Session.set('currentRelicId', id); }
},
'/new': 'newRelic'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment