diff --git a/app/views/customers/_details.html.erb b/app/views/customers/_details.html.erb
index 73f60f8..8fcf627 100644
--- a/app/views/customers/_details.html.erb
+++ b/app/views/customers/_details.html.erb
@@ -29,7 +29,7 @@
|
<%= 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?"} %>
|