Hi,
I has a nested restful route in routes.rb, which works nicely with
1.2.6:
map.resources :checklists, :member => {
:invite => :post,
:accept => :any,
} do |checklists|
checklists.resources :tasks, :member =>
{
:invalidate => :any,
:close => :any,
:reopen => :any,
:reorder => :any,
:collapse => :any,
:expand => :any,
}
end
For such a definition, i used path like
tasks_path(checklist_id)
After upgrade to Rails 2.0, I’m getting the error message:
undefined method `tasks_path’ for #ActionView::Base:0x69090b0
Has no idea where to look at how to fix the problem. rake routes
doesn’t show generated paths.
Any help?
Regards,
KIR