diff --git a/app/views/customers/_details.html.erb b/app/views/customers/_details.html.erb index a7a3dea..9db6155 100644 --- a/app/views/customers/_details.html.erb +++ b/app/views/customers/_details.html.erb @@ -2,38 +2,38 @@ Customer - <%= @customer.name %> + <%= customer.name %> Email - <%= @customer.email %> + <%= customer.email %> Primary Phone - <%= @customer.primary_phone %> + <%= customer.primary_phone %> Mobile Phone - <%= @customer.mobile_phone %> + <%= customer.mobile_phone %> Notes - <%= @customer.notes %> + <%= customer.notes %> Issues - <%= @issues.count %> + <%= customer.issues.count %> - <%= button_to "Edit", edit_customer_path(@customer), method: :get%> + <%= button_to "Edit", edit_customer_path(customer), method: :get%>