aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api_controller.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-02-25 18:30:12 +1100
committerHenare Degan <henare.degan@gmail.com>2013-02-25 18:46:40 +1100
commit9d97fb84fe041a3479efae7c0c99c92abc07ad3d (patch)
treee15eb532d139cd9aec34f22c8535af8ff115cb36 /app/controllers/api_controller.rb
parentab2d725012de74cd03f26ad42ad759c16f8615fe (diff)
create_ is deprecated
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r--app/controllers/api_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb
index 424f0444d..61b68a2db 100644
--- a/app/controllers/api_controller.rb
+++ b/app/controllers/api_controller.rb
@@ -168,7 +168,7 @@ class ApiController < ApplicationController
mail.parts << attachment
end
else
- mail = RequestMailer.create_external_response(request, body, sent_at, attachment_hashes)
+ mail = RequestMailer.external_response(request, body, sent_at, attachment_hashes)
end
request.receive(mail, mail.encoded, true)
end