aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/templates/details.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/templates/details.jinja2 b/fietsboek/templates/details.jinja2
index f626730..f741d4e 100644
--- a/fietsboek/templates/details.jinja2
+++ b/fietsboek/templates/details.jinja2
@@ -55,7 +55,7 @@
<div id="mainmap_hp" style="width:100%;height:300px">
</div>
- <a class="btn btn-primary" href="{{ request.route_path('gpx', id=track.id) }}"><i class="bi bi-download"></i> {{ _("page.details.download") }}</a>
+ <a class="btn btn-primary" href="{{ gpx_url }}"><i class="bi bi-download"></i> {{ _("page.details.download") }}</a>
<table class="table table-hover table-sm">
<tbody>