aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/contact_mailer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/contact_mailer.rb')
-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,