aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/help_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-25 14:25:25 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-25 14:27:38 +1100
commit1ed216502e3b2ef22a1765f985aebf0c5920153e (patch)
treeeaf616203c9397291d844c07b735ba58e9cf4849 /app/controllers/help_controller.rb
parenteef9d83ff28b9d3fdea11dabfab465adefbdf683 (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.rb2
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],