I want to reuse a route inside a different route. Example:
App.Router.map(function() {
this.resource('routeA', function() {
this.resource('routeAA');
});
this.resource('routeB', function() {
this.resource('routeA', function() {
this.resource('routeAA');
});
});
});
This is not working because I think the first resource routeA gets overridden in routeB.
Is my speculation correct? Is there a better way to solve this?