Commit 1bf797d9 authored by Willard's avatar Willard

Fix typo in delete_stall()

parent eb58df16
...@@ -69,5 +69,4 @@ def delete_stall(stall_id): ...@@ -69,5 +69,4 @@ def delete_stall(stall_id):
stall = Stall.query.get(stall_id) stall = Stall.query.get(stall_id)
db.session.delete(stall) db.session.delete(stall)
db.session.commit() db.session.commit()
return redirect(url_for('view_stall'))
return redirect(url_for('view_stalls')) \ No newline at end of file
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment