[openstreetmap/openstreetmap-website] Rename api changesets index action and template (PR #4639)

Anton Khorev notifications at github.com
Sat Mar 30 05:46:54 UTC 2024


See #4638 for template filenames. Here I want to rename `changesets.xml.builder` to its action, but I also rename the action.

`query` action is at the index path, so it's really an `index` action.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rename api changesets index action
  * Rename api changesets index template

-- File Changes --

    M app/abilities/api_ability.rb (2)
    M app/controllers/api/changesets_controller.rb (79)
    R app/views/api/changesets/index.json.jbuilder (0)
    R app/views/api/changesets/index.xml.builder (0)
    M config/routes.rb (2)
    M test/controllers/api/changesets_controller_test.rb (4)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list