From 961ad8cc278f9ffaed08008779e765c71b24e955 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 29 Aug 2019 10:24:10 +1000 Subject: [PATCH] bugfix --- lib/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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