From e532e2ca73bcb94b98833deef7c17f16552c6cf0 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 9 Nov 2023 13:55:31 +0000 Subject: [PATCH] refactor: lint --- app/models/form.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/form.rb b/app/models/form.rb index a265fa41a..9b62f7516 100644 --- a/app/models/form.rb +++ b/app/models/form.rb @@ -206,7 +206,6 @@ class Form radio_questions_recalculated = routed_and_not_routed_questions_by_type(log, type: "radio") newly_not_routed_radio_questions = radio_questions_recalculated[:not_routed].reject { |question| radio_questions[:not_routed].include?(question) } radio_clearing_pass(log, radio_questions_recalculated[:routed], newly_not_routed_radio_questions) - end def reset_free_user_input_questions_if_not_routed(log) @@ -250,7 +249,6 @@ class Form end end - def routed_and_not_routed_questions_by_type(log, type: nil, current_user: nil) questions_by_type = if type questions.reject { |q| q.type != type || q.disable_clearing_if_not_routed_or_dynamic_answer_options }