Skip to content
Browse files

base menu building on whether site is private or public

  • Loading branch information...
1 parent 984a85a commit 9ba6e20f24c36403eaefab4f339c7c6e5665b909 @dwatkinsweb committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ampcms/lib/
2 ampcms/lib/
@@ -63,7 +63,7 @@ def _build_menus(self):
- if self.request.user.is_anonymous():
+ if not site.private:
for module in Module.objects.active_site_modules(site):
menus[MenuTypes.MAIN].append(module.title, '/%s' %, icon=module.icon)
for page in Page.objects.active_module_pages(current_module):

0 comments on commit 9ba6e20

Please sign in to comment.
Something went wrong with that request. Please try again.