Resource routes for acts_as_tree - help


I’d like to be able to define the children of a node as a resource
like so:


etc., but can’t figure this out. Usually, the nested route is a model
but in this case children is something setup by acts_as_tree. Is this
at all possible?

Thank you


map.resources :content_nodes do |content_nodes|
content_nodes.resources :children, :controller=>‘content_nodes’

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs