fix cms menu

This commit is contained in:
Torsten 2023-01-23 15:06:10 +02:00
parent 22ec48ea70
commit 9608953e23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ module ApplicationHelper
end
def member_memu
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" ]
end
items