Displaying 1 result from an estimated 1 matches for "comoleted_user_todo_path".
2011 Apr 13
5
Nested route with collection
...with collection, but I always have mistake
route:
resources :user do
resources :todo do
member do
post :complete
end
collection do
get :completed
end
resources :post
end
end
View:
<%= link_to_if (params[:action] == ''home''), ''Done'',
comoleted_user_todo_path %>
Browser back me mistake
undefined local variable or method `long_product_category_path'' for
#<#<class:0x1036ed8c8>:0x1036e92a0 </class:0x1036ed8c8>
Could you help
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk...