From 9e32851a8921768e7e4d39af715391dd1c32d5fd Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 18 Nov 2019 13:12:15 -0500 Subject: [PATCH] propagate poll correctly --- lib/philomena_web/templates/topic/show.html.slime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/topic/show.html.slime b/lib/philomena_web/templates/topic/show.html.slime index 4939aed7..594f685f 100644 --- a/lib/philomena_web/templates/topic/show.html.slime +++ b/lib/philomena_web/templates/topic/show.html.slime @@ -30,7 +30,7 @@ h1 = @topic.title / Display the poll, if any = if @topic.poll do - = render PhilomenaWeb.Topic.PollView, "_display.html.slime", poll: @poll, conn: @conn + = render PhilomenaWeb.Topic.PollView, "_display.html.slime", poll: @topic.poll, conn: @conn / The actual posts .posts-area