Displaying 1 result from an estimated 1 matches for "completed_task".
Did you mean:
completed_tasks
2008 Nov 16
0
non-RESTful action or nested routes?
...d "update", nor do I want to modify the
UI to fit "start task" into a form of update.
I can see two options:
1 - create named routes on task for "start" and "complete" (post to
these does the action in question)
2 - create subresources of project for "completed_tasks" and
"started_tasks" (where a post to /projects/5/completed_tasks/78 would
"complete" task #78 of project #5)
Which would be the "least surprising" way to do this, from a Rails
perspective?
Dave
--~--~---------~--~----~------------~-------~--~----~
You receiv...