diff --git a/routes.py b/routes.py index 0800d74..ac1fa7a 100644 --- a/routes.py +++ b/routes.py @@ -279,7 +279,7 @@ def payment(): db.session.add(booking) db.session.commit() - return redirect(url_for('home')) + return redirect(url_for('dashboard')) return render_template('payment.html', total_price=total_price)