From b32df9525c282074a88b61b36a955e22ae562be9 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 28 Apr 2016 09:48:31 -0400 Subject: [PATCH] Update _details.html.erb --- app/views/customers/_details.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?"} %>