Fix of the endpoint name
This commit is contained in:
+1
-1
@@ -10398,7 +10398,7 @@ def notifications_unread_status():
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/admin/damaged_items')
|
@app.route('/admin/damaged_items')
|
||||||
def damaged_items():
|
def admin_damaged_items():
|
||||||
"""Admin-Übersicht aller aktiven und vergangenen Ausleihen."""
|
"""Admin-Übersicht aller aktiven und vergangenen Ausleihen."""
|
||||||
if 'username' not in session:
|
if 'username' not in session:
|
||||||
flash('Administratorrechte erforderlich.', 'error')
|
flash('Administratorrechte erforderlich.', 'error')
|
||||||
|
|||||||
Reference in New Issue
Block a user