diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-25 15:56:50 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-25 15:56:50 +1100 |
commit | e9b4f4df38181e92938f99c98509b5f36033072d (patch) | |
tree | 44ce74665a98e70591dc27c185cedbd8fdd20d33 | |
parent | fb4be794911d6f01ee46bb31753d47c414d682a1 (diff) |
New way of sending an email
-rw-r--r-- | app/models/info_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 42efa4484..e4b24b991 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -479,7 +479,7 @@ public self.save! end self.info_request_events.each { |event| event.xapian_mark_needs_index } # for the "waiting_classification" index - RequestMailer.deliver_new_response(self, incoming_message) if !is_external? + RequestMailer.new_response(self, incoming_message).deliver if !is_external? end |