Browse Source

Rubocop

pull/273/head
baarkerlounger 3 years ago committed by MadeTech Dushan
parent
commit
c8ee9814ef
  1. 6
      app/helpers/check_answers_helper.rb

6
app/helpers/check_answers_helper.rb

@ -12,10 +12,6 @@ module CheckAnswersHelper
end end
def get_answer_label(question, case_log) def get_answer_label(question, case_log)
if question.answer_label(case_log).present? question.answer_label(case_log).presence || "<span class=\"app-!-colour-muted\">You didn’t answer this question</span>".html_safe
question.answer_label(case_log)
else
"<span class=\"app-!-colour-muted\">You didn’t answer this question</span>".html_safe
end
end end
end end

Loading…
Cancel
Save