Commit 1f9cf429 authored by Willard's avatar Willard

Fix incomplete context in delete_stall redirect

parent 121466d5
......@@ -69,4 +69,4 @@ def delete_stall(stall_id):
stall = Stall.query.get(stall_id)
db.session.delete(stall)
db.session.commit()
return redirect(url_for('view_stall'))
\ No newline at end of file
return redirect(url_for('view_stall', stall_id=stall_id)
\ 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