From d676018a233af64d049553eeb3a22d53a902eb91 Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 1 Sep 2017 20:52:43 +0200 Subject: [PATCH] remove condition on current poll officer helper --- app/helpers/users_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index 9f4da03dc..111a80267 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -53,7 +53,7 @@ module UsersHelper end def current_poll_officer? - current_user && current_user.poll_officer? && Poll.current.any? + current_user && current_user.poll_officer? end def show_admin_menu?