diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-25 14:25:25 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-25 14:25:25 +1100 |
commit | 39b473f22f014dd119795c8230518950b526a916 (patch) | |
tree | d1d381eedfbc28400dc3f2fd670521c787a25aa2 /app/controllers/help_controller.rb | |
parent | a8f2ba358fe0084dc6d41e77bead867c403957e2 (diff) |
Rename mailer method to avoid naming conflict in Rails 3
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r-- | app/controllers/help_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index cf90f45bb..d13b2655f 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -50,7 +50,7 @@ class HelpController < ApplicationController end @contact = ContactValidator.new(params[:contact]) if @contact.valid? && !params[:remove] - ContactMailer.deliver_message( + ContactMailer.deliver_to_admin_message( params[:contact][:name], params[:contact][:email], params[:contact][:subject], |