fix cms menu

This commit is contained in:
Torsten 2023-01-23 15:06:10 +02:00
parent 22ec48ea70
commit 9608953e23

View File

@ -61,7 +61,7 @@ module ApplicationHelper
end end
def member_memu def member_memu
items =[["/forum" ,"Forum"] , [main_app.member_path(current_member) , "Settings"]] items =[["/forum" ,"Forum"] , [main_app.member_path(current_member) , "Settings"]]
if current_member.admin? and !Rails.env.production? if !Rails.env.production?
items << [merged.pages_path(), "CMS" ] items << [merged.pages_path(), "CMS" ]
end end
items items