1
0
Fork 0

route_to should take precedence

Dieser Commit ist enthalten in:
Angus McLeod 2019-08-29 09:53:24 +10:00
Ursprung ad18ec9809
Commit f4a5b49446

Datei anzeigen

@ -162,7 +162,7 @@ class CustomWizard::Builder
if updater.errors.empty?
if final_step
updater.result[:redirect_on_complete] = data['redirect_on_complete'] || data['route_to']
updater.result[:redirect_on_complete] = data['route_to'] || data['redirect_on_complete']
elsif route_to = data['route_to']
updater.result[:redirect_on_next] = route_to
end