# Nested Resources: How to view all children resources

**URL:** <https://www.ruby-forum.com/t/nested-resources-how-to-view-all-children-resources/159691>\
**Category:** Rails\
**Created:** [February 7, 2009, 4:59am UTC](https://www.ruby-forum.com/t/nested-resources-how-to-view-all-children-resources/159691 "2009-02-07T04:59:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![scudco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@scudco](https://www.ruby-forum.com/u/scudco)\
**Post date:** [February 7, 2009, 4:59am UTC](https://www.ruby-forum.com/t/nested-resources-how-to-view-all-children-resources/159691/1 "2009-02-07T04:59:46Z")

</div>

I want to be able to view all the children resources in a nested  
resoruce scheme.

Ie. if i have projects and tasks I want to be able to view every single  
task like this /tasks  
rather than  
/project/1/task…

Can anybody help?

---

<div class="post-metadata">

**Author:** ![scudco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@scudco](https://www.ruby-forum.com/u/scudco)\
**Post date:** [February 7, 2009, 6:09am UTC](https://www.ruby-forum.com/t/nested-resources-how-to-view-all-children-resources/159691/2 "2009-02-07T06:09:00Z")

</div>

you just need to create an un-nested route for tasks:

map.resources :tasks

outside of the nested routes block. they won’t conflict.

On Feb 6, 7:59 pm, Adam A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
