diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-25 18:30:12 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-25 18:46:40 +1100 |
commit | 9d97fb84fe041a3479efae7c0c99c92abc07ad3d (patch) | |
tree | e15eb532d139cd9aec34f22c8535af8ff115cb36 /app/controllers/request_controller.rb | |
parent | ab2d725012de74cd03f26ad42ad759c16f8615fe (diff) |
create_ is deprecated
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 daf290675..7895e05d5 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -878,7 +878,7 @@ class RequestController < ApplicationController mail.parts << attachment end else - mail = RequestMailer.create_fake_response(@info_request, @user, body, file_name, file_content) + mail = RequestMailer.fake_response(@info_request, @user, body, file_name, file_content) end @info_request.receive(mail, mail.encoded, true) flash[:notice] = _("Thank you for responding to this FOI request! Your response has been published below, and a link to your response has been emailed to ") + CGI.escapeHTML(@info_request.user.name) + "." |