hot fix current booth

This commit is contained in:
rgarcia
2017-02-15 18:58:55 +01:00
committed by Javi Martín
parent 99551e048b
commit 9329e4b6ea

View File

@@ -1,5 +1,5 @@
<% if current_user.poll_officer? %>
<div id="officing-booth" class="callout info">
<%= t("admin.officing_booth.title", booth: current_booth.try(:location)) %>
<%= t("admin.officing_booth.title", booth: try(:current_booth).try(:location)) %>
</div>
<% end %>