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?
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?
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. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs