From 70cd5a5cdd22b892118233aae306c1108b4c8c56 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 6 May 2016 06:30:01 -0400 Subject: [PATCH] Update vehicles_controller.rb --- app/controllers/vehicles_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb index 3694d0b..e7e471e 100644 --- a/app/controllers/vehicles_controller.rb +++ b/app/controllers/vehicles_controller.rb @@ -51,6 +51,7 @@ class VehiclesController < ApplicationController def edit @vehicle = Vehicle.find_by_id(params[:id]) @customer = @vehicle.customer.id if @vehicle.customer + @customers = Customer.all.order(:name) end # update a specific vehicle