diff --git a/app/helpers/check_answers_helper.rb b/app/helpers/check_answers_helper.rb index 8828205c1..afa95069b 100644 --- a/app/helpers/check_answers_helper.rb +++ b/app/helpers/check_answers_helper.rb @@ -12,10 +12,6 @@ module CheckAnswersHelper end def get_answer_label(question, case_log) - if question.answer_label(case_log).present? - question.answer_label(case_log) - else - "You didn’t answer this question".html_safe - end + question.answer_label(case_log).presence || "You didn’t answer this question".html_safe end end