Update _details.html.erb

This commit is contained in:
2016-04-28 09:48:31 -04:00
parent 967a727392
commit b32df9525c

View File

@@ -29,7 +29,7 @@
<td/>
<td>
<%= button_to "Edit", edit_customer_path(@customer), method: :get%>
<%= button_to "Delete", delete_customer_path(@customer), method: :delete, data: {confirm: "You sure?"} %>
<%= button_to "Delete", destroy_customer_path(@customer), method: :delete, data: {confirm: "You sure?"} %>
</td>
</tr>
</tbody>