[openstreetmap/openstreetmap-website] Rename message_controller to messages_controller (#1858)

Andy Allan notifications at github.com
Mon May 14 02:06:12 UTC 2018


This PR renames the messages_controller to match Rails naming convention.

@Nikerabbit This PR contains translation key renaming as follows:

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

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

-- Commit Summary --

  * Lazy lookups for translations in message_controller.rb
  * Rename message_controller to messages_controller

-- File Changes --

    R app/controllers/messages_controller.rb (24)
    R app/views/messages/_message_count.html.erb (6)
    R app/views/messages/_message_summary.html.erb (0)
    R app/views/messages/_sent_message_summary.html.erb (0)
    R app/views/messages/delete.js.erb (0)
    R app/views/messages/inbox.html.erb (0)
    R app/views/messages/mark.js.erb (0)
    R app/views/messages/new.html.erb (0)
    R app/views/messages/no_such_message.html.erb (0)
    R app/views/messages/outbox.html.erb (0)
    R app/views/messages/read.html.erb (0)
    M config/locales/en.yml (2)
    M config/routes.rb (14)
    R test/controllers/messages_controller_test.rb (20)

-- Patch Links --

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


More information about the rails-dev mailing list