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
|
||||
def create
|
||||
@vehicle = Vehicle.new(params)
|
||||
@vehicle = Vehicle.new(params[:vehicle])
|
||||
@vehicle.save!
|
||||
redirect_to @vehicle
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user