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