From 9329e4b6ea9504dd4b34165e73b245ec908aa6c9 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Wed, 15 Feb 2017 18:58:55 +0100 Subject: [PATCH] hot fix current booth --- app/views/layouts/_officing_booth.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_officing_booth.html.erb b/app/views/layouts/_officing_booth.html.erb index aa1bd0f1e..bee7e78d7 100644 --- a/app/views/layouts/_officing_booth.html.erb +++ b/app/views/layouts/_officing_booth.html.erb @@ -1,5 +1,5 @@ <% if current_user.poll_officer? %>
- <%= t("admin.officing_booth.title", booth: current_booth.try(:location)) %> + <%= t("admin.officing_booth.title", booth: try(:current_booth).try(:location)) %>
<% end %>