diff --git a/app/views/customers/_details.html.erb b/app/views/customers/_details.html.erb index c855953..fa817b0 100644 --- a/app/views/customers/_details.html.erb +++ b/app/views/customers/_details.html.erb @@ -28,7 +28,7 @@ - <%= button_to "Edit", edit_vehicle_path(@customer), method: :get%> + <%= button_to "Edit", edit_customer_path(@customer), method: :get%> <%= button_to "Delete", @customer, method: :delete, data: {confirm: "You sure?"} %>