mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update vehicles_controller.rb
This commit is contained in:
1 parent
8b7cc3ffb6
commit
843c355a64
1 file changed
+1
-1
@@ -55,7 +55,7 @@ class VehiclesController < ApplicationController
|
|||||||
begin
|
begin
|
||||||
@vehicle = Vehicle.find_by_id(params[:id])
|
@vehicle = Vehicle.find_by_id(params[:id])
|
||||||
Customer.without_callback(:initialize, :after, :pull) do
|
Customer.without_callback(:initialize, :after, :pull) do
|
||||||
@customers = .all.order(:name)
|
@customers = Customer.all.order(:name)
|
||||||
end
|
end
|
||||||
rescue ActiveRecord::RecordNotFound
|
rescue ActiveRecord::RecordNotFound
|
||||||
render_404
|
render_404
|
||||||
|
|||||||
Reference in new issue
Block a user