[openstreetmap/openstreetmap-website] Use named paths for messages (#1850)

Andy Allan notifications at github.com
Wed May 9 03:27:13 UTC 2018


This PR uses the existing named routes for the messages controller.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use named paths for messages

-- File Changes --

    M app/models/notifier.rb (11)
    M app/views/diary_entry/_diary_entry.html.erb (2)
    M app/views/message/_message_summary.html.erb (8)
    M app/views/message/_sent_message_summary.html.erb (4)
    M app/views/message/new.html.erb (4)
    M app/views/message/read.html.erb (8)
    M app/views/user/_contact.html.erb (2)
    M app/views/user/view.html.erb (2)
    M test/controllers/message_controller_test.rb (1)

-- Patch Links --

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


More information about the rails-dev mailing list