From 2d31ababaaf78e84a230ddfb99228c66c45d7057 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 20 Dec 2019 10:38:14 -0500 Subject: [PATCH] Correct variable error Line 30 was missing the `@` in `@event.speakers.any`, which caused a 500 error when clicking on a session in the program. Corrected the typo. --- app/views/proposals/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/proposals/show.html.haml b/app/views/proposals/show.html.haml index f328c9a2..a7a155bb 100644 --- a/app/views/proposals/show.html.haml +++ b/app/views/proposals/show.html.haml @@ -27,7 +27,7 @@ .row .col-md-3 %h3 - - if event.speakers.any? + - if @event.speakers.any? Presented by: - @speakers_ordered.each do |speaker| .speakerinfo