Skip to content

Instantly share code, notes, and snippets.

@consideRatio
Created January 1, 2014 18:12
Show Gist options
  • Save consideRatio/8210103 to your computer and use it in GitHub Desktop.
Save consideRatio/8210103 to your computer and use it in GitHub Desktop.
router.js
SpeedMind.Router.map(function () {
this.resource('source', { path: '/:source_id' }, function() {
this.resource('doc', { path: '/:doc_id' }, function() {
this.resource('collection', { path: '/:collection_id' }, function() {
this.resource('list', { path: '/:list_id' });
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment