Displaying 2 results from an estimated 2 matches for "complete_person_task".
2007 Dec 28
1
Getting wrong route - fairly complete error description
...e", :person_id=>"9",
:controller=>"tasks", :id=>"95"})
=> "/people/9/tasks/95/complete"
-------------------------------
So that is all good.
Then rake routes gives me a list which also shows things are good:
-------------------------------
complete_person_task PUT /people/:person_id/tasks/:id/complete
{:controller => "tasks", :action => "complete"}
-------------------------------
But then in my people/show view I have:
-------------------------------
<%= button_to "Done", :url => complete_person_task_path(tas...
2007 Dec 28
1
Rake routes & console showing one thing, app doing another
...e", :person_id=>"9",
:controller=>"tasks", :id=>"95"})
=> "/people/9/tasks/95/complete"
-------------------------------
So that is all good.
Then rake routes gives me a list which also shows things are good:
-------------------------------
complete_person_task PUT /people/:person_id/tasks/:id/complete
{:controller => "tasks", :action => "complete"}
-------------------------------
But then in my people/show view I have:
-------------------------------
<%= button_to "Done", :url => complete_person_task_path(task...