From 12658e33a92f6197599767317fa4e80fc95235bc Mon Sep 17 00:00:00 2001 From: Bertocq Date: Wed, 20 Sep 2017 16:07:19 +0200 Subject: [PATCH] Use %w string array syntax to comply with the 140 char line limit --- app/helpers/admin_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb index f9c2e8c69..2cefcdf27 100644 --- a/app/helpers/admin_helper.rb +++ b/app/helpers/admin_helper.rb @@ -25,7 +25,7 @@ module AdminHelper end def menu_polls? - ["polls", "questions", "officers", "booths", "officer_assignments", "booth_assignments", "recounts", "results", "shifts"].include? controller_name + %w[polls questions officers booths officer_assignments booth_assignments recounts results shifts].include? controller_name end def menu_profiles? @@ -39,7 +39,7 @@ module AdminHelper def menu_customization? ["pages", "images", "content_blocks"].include? controller_name end - + def official_level_options options = [["", 0]] (1..5).each do |i|