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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to