diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-09-18 16:33:47 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-18 16:33:47 +0100 |
commit | c1a06b2861ea0b071c7fec090afef32291221fb7 (patch) | |
tree | 336e0fff7d5883c3555f6fca8a9f4b453ba33807 /app/controllers/request_controller.rb | |
parent | b984c930f1ec48ef635246b37a467006d1e584d8 (diff) |
Remove extra "is invalid" message.
Fixes #1101.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 82697b792..b2d228494 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -297,7 +297,7 @@ class RequestController < ApplicationController # We don't want the error "Outgoing messages is invalid", as in this # case the list of errors will also contain a more specific error # describing the reason it is invalid. - @info_request.errors.delete("outgoing_messages") + @info_request.errors.delete(:outgoing_messages) render :action => 'new' return |