fixed auth.settings.wiki and make populate generator

This commit is contained in:
mdipierro
2013-04-10 22:14:59 -05:00
parent a82034d516
commit 7b0cf5bc12
4 changed files with 52 additions and 9 deletions
+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)