aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-07-19 19:54:23 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-07-19 19:54:23 +0200
commitde83e3f4f3950e233cdf10d8e4e6014da3b28275 (patch)
tree2b7616182caab209a9b82ec9b772d3109d8bc6ba
parent7f000cc23c7f159901b5e46a35fbf4c6878d0250 (diff)
downloadfietsboek-de83e3f4f3950e233cdf10d8e4e6014da3b28275.tar.gz
fietsboek-de83e3f4f3950e233cdf10d8e4e6014da3b28275.tar.bz2
fietsboek-de83e3f4f3950e233cdf10d8e4e6014da3b28275.zip
fix track_id/id mismatch in add-comment route
-rw-r--r--fietsboek/views/detail.py2
1 files changed, 1 insertions, 1 deletions
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))