From 2d95aa9935a70784b8433c6c86e2ae7d43cf820e Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Tue, 12 May 2015 13:55:27 +0300 Subject: [PATCH] Added contact code --- app/mailers/contact_mailer.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/mailers/contact_mailer.rb b/app/mailers/contact_mailer.rb index 174b8e8f0..978b48397 100644 --- a/app/mailers/contact_mailer.rb +++ b/app/mailers/contact_mailer.rb @@ -8,6 +8,7 @@ class ContactMailer < ApplicationMailer return if contact.deliver_emails != true @contact = contact - mail(to: [@contact.email, @contact.email_was], subject: I18n.t(:contact_email_update_subject)) + mail(to: [@contact.email, @contact.email_was], + subject: "#{I18n.t(:contact_email_update_subject)} [@contact.code]") end end