Skip to content
Snippets Groups Projects
Commit 5f90d0ff authored by legac's avatar legac
Browse files

Polish the controller default/index to run with

parent 81f3612e
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,12 @@ def index():
"""
if 'debug' in request.vars:
return redirect(URL('plugin_dbui', 'debug'))
return redirect(URL('plugin_dbui', 'index'))
del request.vars['debug']
url = URL('plugin_dbui', 'debug', args=request.args, vars=request.vars)
else:
url = URL('plugin_dbui', 'index', args=request.args, vars=request.vars)
return redirect(url)
def pack_plugin():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment