diff --git a/app/views/vehicles/_list.html.erb b/app/views/vehicles/_list.html.erb index 7347577..8a01166 100644 --- a/app/views/vehicles/_list.html.erb +++ b/app/views/vehicles/_list.html.erb @@ -2,8 +2,7 @@
- <% @customer = vehicle.customer.name if vehicle.customer %> - <%= render :partial => 'vehicles/details', locals: {vehicle: vehicle}%> + <%= vehicle.to_s %>
<%= button_to "More", vehicle_path(vehicle), method: :get %>