Adds documents to menu customization admin helper
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user