[openstreetmap/openstreetmap-website] Pluralize controllers (#2052)
Andy Allan
notifications at github.com
Wed Nov 7 15:36:29 UTC 2018
This pluralizes the remaining controllers (except for changesets, which will come after #2050 is resolved). Otherwise the singular controllers refer to singular resources and so can stay the way they are.
@Nikerabbit This PR contains translation key renamining:
* `diary_entry.*` -> `diary_entries.*`
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2052
-- Commit Summary --
* Pluralize nodes, ways and relations controllers
* Pluralize old_ controllers
* Pluralize diary entries controller
-- File Changes --
M .rubocop_todo.yml (2)
R app/controllers/diary_entries_controller.rb (38)
R app/controllers/nodes_controller.rb (2)
R app/controllers/old_nodes_controller.rb (2)
R app/controllers/old_relations_controller.rb (2)
R app/controllers/old_ways_controller.rb (2)
R app/controllers/relations_controller.rb (2)
R app/controllers/ways_controller.rb (2)
M app/views/browse/feature.html.erb (2)
M app/views/browse/history.html.erb (2)
R app/views/diary_entries/_diary_comment.html.erb (0)
R app/views/diary_entries/_diary_entry.html.erb (2)
R app/views/diary_entries/_diary_index_entry.html.erb (0)
R app/views/diary_entries/_location.html.erb (0)
R app/views/diary_entries/comments.html.erb (0)
R app/views/diary_entries/edit.html.erb (2)
R app/views/diary_entries/index.html.erb (4)
R app/views/diary_entries/no_such_entry.html.erb (0)
R app/views/diary_entries/rss.rss.builder (0)
R app/views/diary_entries/show.html.erb (0)
M app/views/users/show.html.erb (8)
M config/locales/en.yml (2)
M config/routes.rb (100)
M test/controllers/changeset_controller_test.rb (8)
R test/controllers/diary_entries_controller_test.rb (46)
R test/controllers/nodes_controller_test.rb (12)
R test/controllers/old_nodes_controller_test.rb (19)
R test/controllers/old_relations_controller_test.rb (11)
R test/controllers/old_ways_controller_test.rb (11)
R test/controllers/relations_controller_test.rb (27)
R test/controllers/ways_controller_test.rb (15)
M test/helpers/application_helper_test.rb (2)
M test/integration/user_diaries_test.rb (2)
M test/system/report_diary_comment_test.rb (4)
M test/system/report_diary_entry_test.rb (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2052.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2052.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/2052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181107/9bda4e80/attachment-0001.html>
More information about the rails-dev
mailing list