In a discussion about extending built-in nested routes in Ember for the Discourse Solved plugin, sam initially attempted to add a custom route map file. However, sam reported that this approach overwrote existing routes and broke functionality, while using the resource mechanism failed to handle nested structures correctly. eviltrout initially suggested using a resource object with a map function to attach routes, but sam demonstrated via screenshots that this failed to map the nested path correctly. To resolve the issue, eviltrout rewrote the underlying route map logic in a commit. The final solution allows users to extend nested routes by specifying the full nested path in the resource key, as shown in the updated code: resource: 'user.userActivity'.
Trouble is that it blows away the existing routes and pretty much breaks everything, I also tries with resource using the other mechanism but it does not play nice with nested routes.