[odrs-web] trivial: Fix a typo to allow us to ban users



commit e685a7ebfb664f307b187a26a637c75693cc9265
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 17 18:27:43 2017 +0100

    trivial: Fix a typo to allow us to ban users

 app/views_admin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/views_admin.py b/app/views_admin.py
index 6efeadb..956e58a 100644
--- a/app/views_admin.py
+++ b/app/views_admin.py
@@ -281,7 +281,7 @@ def admin_modify(review_id):
     db.reviews.modify(review)
     return redirect(url_for('.admin_show_review', review_id=review_id))
 
-@app.route('/admin/users.ban/<user_hash>')
+@app.route('/admin/user_ban/<user_hash>')
 @login_required
 def admin_user_ban(user_hash):
     """ Change details about a review """


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]