mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update vehicles_controller.rb
This commit is contained in:
@@ -28,7 +28,7 @@ class VehiclesController < ApplicationController
|
|||||||
|
|
||||||
# create a new vehicle
|
# create a new vehicle
|
||||||
def create
|
def create
|
||||||
Vehicle.save(params)
|
Vehicle.new(params).save
|
||||||
end
|
end
|
||||||
|
|
||||||
# display a specific vehicle
|
# display a specific vehicle
|
||||||
|
|||||||
Reference in New Issue
Block a user