[openstreetmap/openstreetmap-website] Rename changeset#list to changeset#index (#1974)

Andy Allan notifications at github.com
Wed Sep 5 07:25:10 UTC 2018


This PR renames the `ChangesetController#list` method to `index`, to bring it in line with resourceful routing conventions.

@Nikerabbit This PR contains translation key renaming:

* `changeset.list.*` becomes `changeset.index.*`
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rename changeset#list to changeset#index

-- File Changes --

    M app/controllers/changeset_controller.rb (22)
    M app/helpers/changeset_helper.rb (10)
    M app/views/changeset/history.html.erb (4)
    R app/views/changeset/index.atom.builder (4)
    R app/views/changeset/index.html.erb (0)
    M app/views/user/view.html.erb (4)
    M config/locales/en.yml (2)
    M config/routes.rb (8)
    M test/controllers/changeset_controller_test.rb (118)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1974
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180905/e21896fc/attachment-0001.html>


More information about the rails-dev mailing list