fixed auth.settings.wiki and make populate generator

This commit is contained in:
mdipierro committed 2013-04-10 22:14:59 -05:00
1 parent a82034d516
commit 7b0cf5bc12
4 files changed
+52 -9

No files matched your search

+11
View File
@@ -136,3 +136,14 @@ def _():
]
)]
if DEVELOPMENT_MENU: _()
#########################################################################
## This adds the wiki menu to any action if specified in wiki settings.
#########################################################################
if "auth" in locals():
if auth.settings.wiki.controller and auth.settings.wiki.function:
auth.wiki(controller=auth.settings.wiki.controller,
function=auth.settings.wiki.function)