Adds documents to menu customization admin helper

This commit is contained in:
decabeza
2018-11-30 15:25:50 +01:00
parent 19b7526421
commit 4193bb193c

View File

@@ -56,7 +56,7 @@ module AdminHelper
end end
def menu_customization? def menu_customization?
["pages", "banners", "information_texts"].include?(controller_name) || ["pages", "banners", "information_texts", "documents"].include?(controller_name) ||
menu_homepage? || menu_pages? menu_homepage? || menu_pages?
end end