Created
October 24, 2014 18:29
-
-
Save ctataryn/d1b05a3bd0d21c381b5e to your computer and use it in GitHub Desktop.
Ember Event Bubbling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Router.map(function() { | |
this.route('workspace'); | |
this.route('cart'); | |
this.resource('file-details', {path: '/file-details/:folder_id'}, function() { | |
this.resource('file-contents', function() { | |
this.route('details', {path: '/:id'}); | |
}); | |
this.resource('file-search', {path:'search-and-order'}, function() { | |
// TODO: when filesearch is implemented you will need to add resources for 'titles' and | |
// 'instruments', which each contain routes for each of the search tabs | |
}); | |
this.resource('file-share', {path: 'share-and-reassign'}, function() { | |
this.route('share-temporarily'); | |
this.route('reassign-permanently'); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment