Fix active item on admin menu

This commit is contained in:
16yuki0702
2018-07-27 15:45:42 +09:00
parent 4be40b9e5d
commit 57dbb0220a
2 changed files with 5 additions and 5 deletions

View File

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