[openstreetmap/openstreetmap-website] Move tracepoint ordering logic into tracepoint model, and add tests (#2068)
krubokrubo
notifications at github.com
Mon Nov 19 17:17:00 UTC 2018
Closes #2059
This should behave exactly as before, just moving the logic into the model.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2068
-- Commit Summary --
* Move tracepoint ordering logic into tracepoint model, and add tests
-- File Changes --
M app/controllers/api_controller.rb (4)
M app/models/tracepoint.rb (8)
M test/controllers/api_controller_test.rb (67)
M test/models/tracepoint_test.rb (16)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2068.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2068.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/2068
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181119/9550fe70/attachment.html>
More information about the rails-dev
mailing list