search for: complete_task_path

Displaying 1 result from an estimated 1 matches for "complete_task_path".

2007 Dec 18
0
REST and custom routes
...td> <td><%= link_to ''Edit'', edit_task_path(task) %></td> <td><%= link_to ''Destroy'', task, :confirm => ''Are you sure?'', :method => :delete %></td> <td><%= link_to ''Complete'', complete_task_path(task) %></td> script/server Now, add a task then go back to index Click the Complete link and watch it go: Unknown action No action responded to 1 And here''s what it''s doing in the log: Parameters: {"action"=>"1", "id"=>"comple...