diff --git a/lib/builder.rb b/lib/builder.rb index 9f50239a..39180039 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -167,7 +167,7 @@ class CustomWizard::Builder if updater.errors.empty? if final_step updater.result[:redirect_on_complete] = route_to || data['redirect_on_complete'] - elsif + elsif route_to updater.result[:redirect_on_next] = route_to end end