route_to should take precedence
Dieser Commit ist enthalten in:
Ursprung
ad18ec9809
Commit
f4a5b49446
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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
|
||||
|
|
Laden …
In neuem Issue referenzieren