Self nested infinite routes in Ember.js
问题 I would like to make a sort of directory structure with Ember.js. Here is an example of how an url can look like: folder/1/folder/44/document/3 As you can see a folder can have multiple folders inside but also documents. I'm wondering how I should handle something like this in my router because beforehand my application doesn't know if a folder has other folders inside or only documents. I think I need to make separated routes instead of nested routes: App.Router.map(function() { this.route(