Forum: Ruby on Rails Nested Resources: How to view all children resources

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Adam A. (Guest)
on 2009-02-07 05:59
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

Can anybody help?
Eric (Guest)
on 2009-02-07 07:09
(Received via mailing list)
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>
This topic is locked and can not be replied to.