mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Fixed redirect to for new vehicles
This commit is contained in:
@@ -48,7 +48,7 @@ class VehiclesController < ApplicationController
|
||||
redirect_to @vehicle
|
||||
else
|
||||
flash[:error] = @vehicle.errors.full_messages.to_sentence
|
||||
redirect_to new_vehicle_path
|
||||
redirect_to :back
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user