mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 17:10:43 -04:00
Fixed redirect to for new vehicles
This commit is contained in:
1 parent
e0aebb1c23
commit
fa5dcbf9a9
1 file changed
+1
-1
@@ -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