fixed auth.settings.wiki and make populate generator
This commit is contained in:
@@ -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