aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-05-07 10:17:08 +0100
committerLouise Crow <louise.crow@gmail.com>2013-05-07 10:17:08 +0100
commit2fbaa3a0f8880ef24e0c1a35641f56f0ca6e9b67 (patch)
treeab37d66c85f76f37fe062fb4699518f67b36d1c4 /app/models
parentff822b780a1d5bc2438d9f865867b0065662a306 (diff)
parent3f23471e6507f1da77e0b588f005ebcdeda0350d (diff)
Merge branch 'hotfix/0.9.0.2' into wdtk
Diffstat (limited to 'app/models')
-rw-r--r--app/models/contact_mailer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/contact_mailer.rb b/app/models/contact_mailer.rb
index abde64928..318f54ea8 100644
--- a/app/models/contact_mailer.rb
+++ b/app/models/contact_mailer.rb
@@ -8,7 +8,7 @@ class ContactMailer < ApplicationMailer
# Send message to administrator
def to_admin_message(name, email, subject, message, logged_in_user, last_request, last_body)
- @from = name + " <" + email + ">"
+ @from = "#{name} <#{email}>"
@recipients = contact_from_name_and_email
@subject = subject
@body = { :message => message,