# 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:** [November 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:** 2

<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:** [November 28, 2016, 6:46pm UTC](https://meta.discourse.org/t/how-do-i-extend-a-built-in-nested-route-in-ember/53467/2 "2016-11-28T18:46:58Z")

</div>

This is not super well documented, but the route maps are actually designed just for this purpose!

You should be able to do this:

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

```

The `resource` key in the object tells my custom route map code to attach the routes inside that resource.

---

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