aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/routes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fietsboek/routes.py b/fietsboek/routes.py
index 60a566d..cfcc7bf 100644
--- a/fietsboek/routes.py
+++ b/fietsboek/routes.py
@@ -20,18 +20,18 @@ def includeme(config):
config.add_route("upload", "/upload")
config.add_route(
- "preview", "/preview/{upload_id}.gpx", factory="fietsboek.models.Upload.factory"
+ "preview", "/upload/{upload_id}/preview.gpx", factory="fietsboek.models.Upload.factory"
)
config.add_route(
"finish-upload", "/upload/{upload_id}", factory="fietsboek.models.Upload.factory"
)
config.add_route(
- "cancel-upload", "/cancel/{upload_id}", factory="fietsboek.models.Upload.factory"
+ "cancel-upload", "/upload/{upload_id}/cancel", factory="fietsboek.models.Upload.factory"
)
config.add_route("details", "/track/{track_id}", factory="fietsboek.models.Track.factory")
config.add_route("edit", "/track/{track_id}/edit", factory="fietsboek.models.Track.factory")
- config.add_route("gpx", "/gpx/{track_id}.gpx", factory="fietsboek.models.Track.factory")
+ config.add_route("gpx", "/track/{track_id}/gpx", factory="fietsboek.models.Track.factory")
config.add_route(
"invalidate-share",
"/track/{track_id}/invalidate-link",