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 Akhtar
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---