Commit 9af00cd3 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add the debug option via the URL track_publications/admin?debug

parent 6da5cdc7
......@@ -19,4 +19,7 @@ def index():
else:
session.role = ADMIN
if 'debug' in request.vars:
return LOAD('plugin_dbui', 'debug', vars=request.vars)
return LOAD('plugin_dbui', 'index', vars=request.vars)
......@@ -27,6 +27,10 @@ def documentations():
def index():
session.role = ''
if 'debug' in request.vars:
return LOAD('plugin_dbui', 'debug', vars=request.vars)
return LOAD('plugin_dbui', 'index', vars=request.vars)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment