diff --git a/app/controllers/pages/type_of_answer_controller.rb b/app/controllers/pages/type_of_answer_controller.rb index 4ebf119d14..a6d8ea62ac 100644 --- a/app/controllers/pages/type_of_answer_controller.rb +++ b/app/controllers/pages/type_of_answer_controller.rb @@ -29,7 +29,7 @@ def update redirect_to next_page_path(@type_of_answer_input.answer_type) else @type_of_answer_path = type_of_answer_update_path(current_form.id) - render :type_of_answer + render :type_of_answer, locals: { current_form: } end end