From c14fbf85405b5ebcfe8b53d2188ee72e6e5f7e97 Mon Sep 17 00:00:00 2001 From: 16yuki0702 Date: Fri, 27 Jul 2018 16:34:00 +0900 Subject: [PATCH] Fixed misunderstanding --- app/helpers/admin_helper.rb | 4 ++-- app/views/admin/_menu.html.erb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb index 24cce7945..2c1a32c70 100644 --- a/app/helpers/admin_helper.rb +++ b/app/helpers/admin_helper.rb @@ -21,11 +21,11 @@ module AdminHelper end def menu_polls? - %w[polls questions answers booth_assignments officer_assignments recounts results].include?(controller_name) + %w[polls questions answers recounts results].include?(controller_name) end def menu_booths? - %w[officers booths shifts].include?(controller_name) + %w[officers booths shifts booth_assignments officer_assignments].include?(controller_name) end def menu_profiles? diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index 49c204c30..78ce6b351 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -7,7 +7,7 @@ <%= t("admin.menu.title_polls") %>