# How do I extend a built-in nested route in Ember?

**URL:** <https://meta.discourse.org/t/how-do-i-extend-a-built-in-nested-route-in-ember/53467>\
**Category:** Development\
**Created:** [Novembro 28, 2016, 6:21am UTC](https://meta.discourse.org/t/how-do-i-extend-a-built-in-nested-route-in-ember/53467 "2016-11-28T06:21:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [Novembro 29, 2016, 6:10pm UTC](https://meta.discourse.org/t/how-do-i-extend-a-built-in-nested-route-in-ember/53467/4 "2016-11-29T18:10:29Z")

</div>

Okay, I got this working although it meant a 100% rewrite of how my route map worked!

[https://github.com/discourse/discourse/commit/4e251eaf080cb3d77eca843a47a8a950060d2564](https://github.com/discourse/discourse/commit/4e251eaf080cb3d77eca843a47a8a950060d2564)

Using what I suggested above (with a small change) will now work:

```javascript
export default {
  resource: 'user.userActivity',
  map() { 
    this.route('solved');
  }
};

```

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-extend-a-built-in-nested-route-in-ember/53467)._
