From dd42b7ffbd0abf549d2768ad652fe92312b2dd81 Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Tue, 24 Jul 2018 15:58:10 -0400 Subject: [PATCH] Correctly highlight 'Custom information texts' option on menu if active --- app/helpers/admin_helper.rb | 2 +- app/views/admin/_menu.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb index 988d03a00..91565fb73 100644 --- a/app/helpers/admin_helper.rb +++ b/app/helpers/admin_helper.rb @@ -37,7 +37,7 @@ module AdminHelper end def menu_customization? - ["pages", "banners"].include?(controller_name) || menu_homepage? + ["pages", "banners", "information_texts"].include?(controller_name) || menu_homepage? end def menu_homepage? diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index dc08fbc4e..df355b3af 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -110,7 +110,7 @@