fixed auth.settings.wiki and make populate generator
This commit is contained in:
1 parent
a82034d516
commit
7b0cf5bc12
4 files changed
+52
-9
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user