From 60b892e74ec6537c22237aac5a8323cc38d59929 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 10 May 2020 14:22:33 +0200 Subject: [PATCH] Fix display_all being not defined --- app/views/application/_answerbox.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/application/_answerbox.haml b/app/views/application/_answerbox.haml index 77827c11..1639c5da 100644 --- a/app/views/application/_answerbox.haml +++ b/app/views/application/_answerbox.haml @@ -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