From 39b473f22f014dd119795c8230518950b526a916 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Fri, 25 Jan 2013 14:25:25 +1100 Subject: Rename mailer method to avoid naming conflict in Rails 3 --- app/controllers/help_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/help_controller.rb') 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], -- cgit v1.2.3 From ca20ef1eb17818c78fb690c92a725e2013ef1a9f Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Thu, 7 Feb 2013 08:32:30 +1100 Subject: Fix email link on contact page after escaping changes --- app/controllers/help_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/help_controller.rb') diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index cf90f45bb..1509c1c36 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -19,7 +19,6 @@ class HelpController < ApplicationController def contact @contact_email = Configuration::contact_email - @contact_email = @contact_email.gsub(/@/, "@") # if they clicked remove for link to request/body, remove it if params[:remove] -- cgit v1.2.3