[openstreetmap/openstreetmap-website] move gpx_file (trace) xml generation out of model and into view (#2207)
Frederik Ramm
notifications at github.com
Fri Apr 12 23:53:41 UTC 2019
This continues the work from #2164 for the "trace" class.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2207
-- Commit Summary --
* move generation of gpx_file XML from model to builder
-- File Changes --
M app/controllers/api/traces_controller.rb (3)
M app/controllers/api/users_controller.rb (7)
M app/models/trace.rb (30)
A app/views/api/traces/_trace.builder (22)
A app/views/api/traces/trace.builder (9)
M test/controllers/api/traces_controller_test.rb (36)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2207.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2207.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2207
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190412/9eaf6524/attachment.html>
More information about the rails-dev
mailing list