[openstreetmap/openstreetmap-website] Use flat_map to collect way node ids in maps controller (PR #5586)
Anton Khorev
notifications at github.com
Sat Feb 1 17:37:46 UTC 2025
...instead of calling `flatten!` on the result
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5586
-- Commit Summary --
* Use flat_map to collect way node ids in maps controller
-- File Changes --
M app/controllers/api/maps_controller.rb (5)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5586.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5586.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5586
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5586 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250201/6a3076ee/attachment.htm>
More information about the rails-dev
mailing list