[openstreetmap/openstreetmap-website] Trace data resource (PR #5537)

Anton Khorev notifications at github.com
Thu Jan 23 03:18:06 UTC 2025


Adds a resource for downloading the trace at `/traces/:id/data` with redirect from `/trace/:id/data`.

There's already a similar resource on the api side.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5537

-- Commit Summary --

  * Create trace data resource

-- File Changes --

    A app/controllers/traces/data_controller.rb (41)
    M app/controllers/traces_controller.rb (24)
    M config/routes.rb (7)
    A test/controllers/traces/data_controller_test.rb (120)
    M test/controllers/traces_controller_test.rb (93)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5537.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5537.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5537
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5537 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250122/b51ba5ae/attachment.htm>


More information about the rails-dev mailing list