From 7c6bef89e5a381df8d222e9fbbd1028dcc71653c Mon Sep 17 00:00:00 2001 From: MadeTech Dushan Date: Fri, 28 Jan 2022 16:30:11 +0000 Subject: [PATCH] lint fixes --- app/models/form.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form.rb b/app/models/form.rb index dc643b89f..a2463712b 100644 --- a/app/models/form.rb +++ b/app/models/form.rb @@ -67,7 +67,7 @@ class Form def first_question_in_last_subsection(subsection_ids) next_subsection = get_subsection(subsection_ids[subsection_ids.length - 1]) first_question_in_subsection = next_subsection.pages.first.id - return first_question_in_subsection.to_s.dasherize + first_question_in_subsection.to_s.dasherize end def next_subsection(subsection, case_log, subsection_ids) @@ -78,7 +78,7 @@ class Form next_subsection = get_subsection(subsection_ids[0]) end - return next_subsection + next_subsection end def all_subsections_except_declaration_completed?(case_log)