[openstreetmap/openstreetmap-website] Rename user#view to user#show (#1972)
Andy Allan
notifications at github.com
Wed Sep 5 07:20:15 UTC 2018
This PR renames the `UserController#view` method to `show`, to bring it in line with resourceful routing conventions.
@Nikerabbit This PR contains translation key renaming:
* `user.view.*` becomes `user.show.*`
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1972
-- Commit Summary --
* Rename user#view to user#show
-- File Changes --
M app/controllers/user_controller.rb (14)
M app/helpers/issues_helper.rb (2)
M app/helpers/note_helper.rb (2)
M app/helpers/user_roles_helper.rb (12)
M app/models/notifier.rb (3)
M app/views/changeset/history.html.erb (2)
M app/views/changeset/list.atom.builder (4)
M app/views/layouts/_header.html.erb (6)
M app/views/oauth/authorize.html.erb (2)
M app/views/user/_user.html.erb (4)
M app/views/user/account.html.erb (2)
R app/views/user/show.html.erb (0)
M config/locales/en.yml (2)
M config/routes.rb (2)
M test/controllers/user_controller_test.rb (30)
M test/integration/client_applications_test.rb (2)
M test/integration/user_roles_test.rb (4)
M test/system/report_user_test.rb (8)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1972.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1972.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/1972
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180905/1c4bc9e5/attachment.html>
More information about the rails-dev
mailing list