diff --git a/app/views/vehicles/_details.html.erb b/app/views/vehicles/_details.html.erb index 0bbab30..92d6499 100644 --- a/app/views/vehicles/_details.html.erb +++ b/app/views/vehicles/_details.html.erb @@ -3,7 +3,7 @@ Customer - <%= link_to customer_path(customer), vehicle.customer.name %> + <%= link_to customer_path(vehicle.customer), vehicle.customer.name %>