Fix display_all being not defined

This commit is contained in:
Andreas Nedbal 2020-05-10 14:22:33 +02:00
parent 4203e93bc4
commit 4376572014
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
- display_all ||= nil
.card.answerbox{ data: { id: a.id, q_id: a.question.id } } .card.answerbox{ data: { id: a.id, q_id: a.question.id } }
- if @question.nil? - if @question.nil?
= render 'answerbox/header', a: a = render 'answerbox/header', a: a