Merge pull request #2716 from consul/admin-booths-menu

Adds ballot booths menu on admin
This commit is contained in:
Alberto
2018-07-03 11:20:42 +02:00
committed by GitHub
4 changed files with 35 additions and 22 deletions

View File

@@ -21,7 +21,11 @@ module AdminHelper
end
def menu_polls?
%w[polls questions officers booths officer_assignments booth_assignments recounts results shifts questions answers].include?(controller_name)
%w[polls questions answers].include?(controller_name)
end
def menu_booths?
%w[officers booths officer_assignments booth_assignments recounts results shifts].include?(controller_name)
end
def menu_profiles?