]> git.openstreetmap.org Git - rails.git/commit
Preserve message details over validation errors
authorTom Hughes <tom@compton.nu>
Tue, 4 Feb 2014 22:31:44 +0000 (22:31 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 4 Feb 2014 22:31:44 +0000 (22:31 +0000)
commit25b93471c1861b77190f15dac17b526619710858
treef96f72353f101a5a0bd439a1dd9b301f36598e78
parenta52242ccbccaea7193f3f9368d5d7317ff142397
Preserve message details over validation errors

If a validation error occurs while saving a message then make
sure the values are preserved in the new form.
app/controllers/message_controller.rb
app/views/message/new.html.erb
test/functional/message_controller_test.rb