Update _list.html.erb

This commit is contained in:
2016-05-10 05:23:22 -04:00
parent 4df82ea8e1
commit 0b2fbba330

View File

@@ -5,6 +5,7 @@
<% @customer = vehicle.customer.name if vehicle.customer %>
<% @vehicle = vehicle %>
<%= render :partial => 'vehicles/details' %>
<%= button_to "Details", vehicle_path(@vehicle), method: :get %>
</fieldset>
</div>
</div>