Commit f1273ab7 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update controllers to use the new debug mechanism provided by pugin_dbui.

parent 3d89df07
......@@ -24,7 +24,5 @@ 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)
url = URL('plugin_dbui', 'index', args=request.args, vars=request.vars)
return redirect(url)
......@@ -5,10 +5,8 @@
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)
url = URL('plugin_dbui', 'index', args=request.args, vars=request.vars)
return redirect(url)
def guides():
......
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