Fix display_all being not defined

This commit is contained in:
Andreas Nedbal 2020-05-10 14:22:33 +02:00
parent 7b63efed6f
commit 60b892e74e
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 } }
- if @question.nil?
= render 'answerbox/header', a: a