[openstreetmap/openstreetmap-website] Rename trace_controller to traces_controller (#1857)

Andy Allan notifications at github.com
Mon May 14 02:03:54 UTC 2018


This PR pluralises the traces_controller, to match standard rails naming conventions.

@Nikerabbit This PR contains translation key renaming as follows:

* `trace.*` renamed to `traces.*`
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rename trace_controller to traces_controller

-- File Changes --

    M .rubocop_todo.yml (2)
    M app/controllers/api_controller.rb (2)
    R app/controllers/traces_controller.rb (6)
    R app/views/traces/_description.html.erb (2)
    R app/views/traces/_trace.html.erb (4)
    R app/views/traces/_trace_optionals.html.erb (0)
    R app/views/traces/_trace_paging_nav.html.erb (0)
    R app/views/traces/create.html.erb (2)
    R app/views/traces/edit.html.erb (4)
    R app/views/traces/georss.rss.builder (10)
    R app/views/traces/list.html.erb (4)
    R app/views/traces/offline.html.erb (0)
    R app/views/traces/view.html.erb (8)
    M app/views/user/view.html.erb (4)
    M config/locales/en.yml (2)
    M config/routes.rb (58)
    R test/controllers/traces_controller_test.rb (70)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1857.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1857.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/1857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180513/6e3c27e8/attachment.html>


More information about the rails-dev mailing list