Update vehicles_controller.rb

This commit is contained in:
ricky committed 2016-05-10 05:09:25 -04:00
1 parent cf30ff3fe1
commit 319df60b51
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ class VehiclesController < ApplicationController
@vehicle = Vehicle.find_by_id(params[:id])
if @vehicle
@customer = @vehicle.customer.name if @vehicle.customer
issues = @vehicle.issues
@issues = @vehicle.issues
else
flash[:error] = "Vehicle Not Found"
redirect_to :index