Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Add redirect from old root path
Browse files Browse the repository at this point in the history
  • Loading branch information
robyoung committed Jan 2, 2014
1 parent dc1f67b commit 23e91c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backdrop/admin/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ def verify_user_logged_in(*args, **kwargs):
return verify_user_logged_in


# Redirect from previous location
@app.route('/_user')
def old_index():
return redirect(url_for("index"))


@app.errorhandler(500)
@app.errorhandler(405)
@app.errorhandler(404)
Expand Down

0 comments on commit 23e91c5

Please sign in to comment.