From 7ef3e3146526fd95191e6680bbdf7e90e34660eb Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 2 Jun 2016 09:20:44 -0400 Subject: [PATCH] New Issue Button --- app/views/vehicles/_details.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/vehicles/_details.html.erb b/app/views/vehicles/_details.html.erb index 8fa1733..54d438e 100644 --- a/app/views/vehicles/_details.html.erb +++ b/app/views/vehicles/_details.html.erb @@ -44,6 +44,8 @@ + + <%= button_to "New Issue", new_issue_path(:vehicle_id => vehicle.id, :customer_id => vehicle.customer.id), method: :get%> <%= button_to "Edit", edit_vehicle_path(vehicle), method: :get%> <%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>