[openstreetmap/openstreetmap-website] Avoid calling json.partial! in loop, render collections instead (PR #4958)
mmd
notifications at github.com
Sat Jul 6 08:22:16 UTC 2024
See discussion in #4141
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4958
-- Commit Summary --
* Jbuilder: render collections of partials
-- File Changes --
M app/views/api/map/index.json.jbuilder (8)
M app/views/api/nodes/index.json.jbuilder (4)
M app/views/api/nodes/show.json.jbuilder (4)
M app/views/api/old_nodes/history.json.jbuilder (4)
M app/views/api/old_nodes/show.json.jbuilder (4)
M app/views/api/old_relations/history.json.jbuilder (4)
M app/views/api/old_relations/show.json.jbuilder (4)
M app/views/api/old_ways/history.json.jbuilder (4)
M app/views/api/old_ways/show.json.jbuilder (4)
M app/views/api/relations/full.json.jbuilder (8)
M app/views/api/relations/index.json.jbuilder (4)
M app/views/api/relations/relations_for_node.json.jbuilder (4)
M app/views/api/relations/relations_for_relation.json.jbuilder (4)
M app/views/api/relations/relations_for_way.json.jbuilder (4)
M app/views/api/relations/show.json.jbuilder (4)
M app/views/api/ways/full.json.jbuilder (7)
M app/views/api/ways/index.json.jbuilder (4)
M app/views/api/ways/show.json.jbuilder (4)
M app/views/api/ways/ways_for_node.json.jbuilder (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4958.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4958.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4958
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4958 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240706/fad12bae/attachment.htm>
More information about the rails-dev
mailing list