fix cms menu
This commit is contained in:
parent
22ec48ea70
commit
9608953e23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user