Eliminates `@elems` instance variable. Otherwise there are both `@elements` and 
`@elems` and the difference is that one is filtered by redactions and the other 
is not, which you can't guess from their names.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6356

-- Commit Summary --

  * Use @elements instead of @elems in api element history

-- File Changes --

    M app/controllers/api/old_elements_controller.rb (6)
    M app/views/api/old_nodes/index.json.jbuilder (2)
    M app/views/api/old_nodes/index.xml.builder (2)
    M app/views/api/old_relations/index.json.jbuilder (2)
    M app/views/api/old_relations/index.xml.builder (2)
    M app/views/api/old_ways/index.json.jbuilder (2)
    M app/views/api/old_ways/index.xml.builder (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6356.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6356.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6356
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to