[openstreetmap/openstreetmap-website] More resourceful routing for messages (#2012)
Andy Allan
notifications at github.com
Wed Oct 3 09:04:21 UTC 2018
This PR contains more resourceful routing changes for messages, namely for replying, marking and destroying.
Temporary redirects are included for anyone in the middle of viewing a message when the deployment happens.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2012
-- Commit Summary --
* Use resourceful destroy method for messages
* Use a resourceful path for message marking
* Use resourceful routing for message replies
-- File Changes --
M app/controllers/messages_controller.rb (2)
M app/models/notifier.rb (2)
M app/views/messages/_message_summary.html.erb (6)
M app/views/messages/_sent_message_summary.html.erb (2)
M app/views/messages/show.html.erb (6)
M config/routes.rb (9)
M test/controllers/messages_controller_test.rb (24)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2012.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2012.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/2012
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181003/fbc9c6c4/attachment-0001.html>
More information about the rails-dev
mailing list