[openstreetmap-website] Message won't get lost if user forgets subject (#694)

Pete Song notifications at github.com
Tue Feb 4 21:36:12 UTC 2014


This addresses issue #668 where a message submitted without a subject resets the form with a blank message. The form already uses @body and we can refill the form with the message if a save fails.
You can merge this Pull Request by running:

  git pull https://github.com/songpete/openstreetmap-website patch-1

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * Message won't get lost if user forgets subject

-- File Changes --

    M app/controllers/message_controller.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/694.patch
https://github.com/openstreetmap/openstreetmap-website/pull/694.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/694
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140204/fd95fe93/attachment.html>


More information about the rails-dev mailing list