mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update vehicle.rb
This commit is contained in:
@@ -49,7 +49,9 @@ class Vehicle < ActiveRecord::Base
|
|||||||
|
|
||||||
# returns the drive of the vehicle i.e. 2 wheel, 4 wheel, ect.
|
# returns the drive of the vehicle i.e. 2 wheel, 4 wheel, ect.
|
||||||
def drive
|
def drive
|
||||||
return @details.drive_type if @details
|
#todo fix this
|
||||||
|
#return @details.drive_type if @details
|
||||||
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
# returns the number of doors of the vehicle
|
# returns the number of doors of the vehicle
|
||||||
|
|||||||
Reference in New Issue
Block a user