search for: edit_kid_path

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

2013 Sep 27
0
how to write “Destroy kid” in cucumber
...;Kid name</th> <th colspan=3>Action</th> </tr> <% @kids.each do |kid| %> <tr> <td><%= kid.kid_name %></td> <td><%= link_to ''Show'', kid %></td> <td><%= link_to ''Edit'', edit_kid_path(kid) %></td> <td><%= link_to ''Destroy'', kid, method: :delete, data: { confirm: ''Are you sure?'' } %></td> </tr> <% end %> <%= link_to ''New Kid'', new_kid_path %> what to wr...