Browse Source

Method args

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

2
app/helpers/check_answers_helper.rb

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

Loading…
Cancel
Save