From de83e3f4f3950e233cdf10d8e4e6014da3b28275 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 19 Jul 2022 19:54:23 +0200 Subject: fix track_id/id mismatch in add-comment route --- fietsboek/views/detail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fietsboek/views/detail.py b/fietsboek/views/detail.py index a15b29d..163a3c1 100644 --- a/fietsboek/views/detail.py +++ b/fietsboek/views/detail.py @@ -103,4 +103,4 @@ def add_comment(request): text=request.params["comment"], ) request.dbsession.add(comment) - return HTTPFound(request.route_url("details", id=track.id)) + return HTTPFound(request.route_url("details", track_id=track.id)) -- cgit v1.2.3