diff options
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r-- | module/web/pyload_app.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 04cd07cb2..8401e1778 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -136,18 +136,13 @@ def logout(): s.delete() return render_to_response("login.html", {"logout": True}, proc=[pre_processor]) -@route("/queue") +@route("/") @login_required() -def queue(api): - return render_to_response("queue.html", proc=[pre_processor]) +def index(api): + return render_to_response("dashboard.html", proc=[pre_processor]) @route("/settings") @login_required() def settings(api): return render_to_response("settings.html", proc=[pre_processor]) -@route("/") -@login_required() -def index(api): - return base(["It works!"]) - |