Anyone have experience making an acts_as_tree object RESTful-ly accessible? I've got
map.resources :terms do |terms| models.resources :terms, :name_prefix => 'child_' end
I want to generate a link for creating a child. In show.rhtml, corresponding to GET /terms/id, I tried to using <%= link_to "Create Child", child_new_term_path %> and I get the following error:
ActionView::TemplateError (child_new_term_url failed to generate from {:controller=>"terms", :action=>"new"}, expected: {:controller=>"terms", :action=>"new"}, diff: {})
Thanks