From 4578cb0a24567177f4bc6b4101111710aa0e597d Mon Sep 17 00:00:00 2001 From: Faizaan Gagan Date: Fri, 13 Aug 2021 18:56:38 +0530 Subject: [PATCH] use existing method to reset user's progress --- controllers/custom_wizard/wizard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/custom_wizard/wizard.rb b/controllers/custom_wizard/wizard.rb index bb692ebb..7125fc8a 100644 --- a/controllers/custom_wizard/wizard.rb +++ b/controllers/custom_wizard/wizard.rb @@ -69,7 +69,7 @@ class CustomWizard::WizardController < ::ApplicationController end submission.remove if submission.present? - wizard.reset_user_progress! + wizard.reset end render json: result