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(): ...@@ -24,7 +24,5 @@ def index():
else: else:
session.role = ADMIN session.role = ADMIN
if 'debug' in request.vars: url = URL('plugin_dbui', 'index', args=request.args, vars=request.vars)
return LOAD('plugin_dbui', 'debug', vars=request.vars) return redirect(url)
return LOAD('plugin_dbui', 'index', vars=request.vars)
...@@ -5,10 +5,8 @@ ...@@ -5,10 +5,8 @@
def index(): def index():
session.role = '' session.role = ''
if 'debug' in request.vars: url = URL('plugin_dbui', 'index', args=request.args, vars=request.vars)
return LOAD('plugin_dbui', 'debug', vars=request.vars) return redirect(url)
return LOAD('plugin_dbui', 'index', vars=request.vars)
def guides(): 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