mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update vehicles_controller.rb
This commit is contained in:
1 parent
3d9c7f8ad9
commit
3896560184
1 file changed
+2
-1
@@ -47,7 +47,8 @@ class VehiclesController < ApplicationController
|
|||||||
if @vehicle
|
if @vehicle
|
||||||
@customer = @vehicle.customer.name if @vehicle.customer
|
@customer = @vehicle.customer.name if @vehicle.customer
|
||||||
else
|
else
|
||||||
flash[:error] = "Vehicle Not Found"
|
flash[:error] = "Vehicle Not Found"
|
||||||
|
@customers = Customer.all.order(:name)
|
||||||
render :index
|
render :index
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user