Adds documents to menu customization admin helper
This commit is contained in:
@@ -56,7 +56,7 @@ module AdminHelper
|
||||
end
|
||||
|
||||
def menu_customization?
|
||||
["pages", "banners", "information_texts"].include?(controller_name) ||
|
||||
["pages", "banners", "information_texts", "documents"].include?(controller_name) ||
|
||||
menu_homepage? || menu_pages?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user