[openstreetmap/openstreetmap-website] Rename api changeset show template (PR #4638)

Anton Khorev notifications at github.com
Sat Mar 30 05:16:27 UTC 2024


Currently there are very similarly named template files for api changeset views:
- changeset.xml.builder
- _changeset.xml.builder
- changesets.xml.builder

Usually there's a show template for other controllers. Here I'm renaming `changeset.xml.builder` to `show.xml.builder` and the same for json.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rename api changeset show template

-- File Changes --

    M app/controllers/api/changeset_comments_controller.rb (6)
    M app/controllers/api/changesets_controller.rb (7)
    R app/views/api/changesets/show.json.jbuilder (0)
    R app/views/api/changesets/show.xml.builder (0)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4638 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240329/f6ccf0b7/attachment.htm>


More information about the rails-dev mailing list