From af792d9fa40389f70846c57de4d424a796bf736c Mon Sep 17 00:00:00 2001 From: Marcela Ribeiro de Oliveira <mro15@inf.ufpr.br> Date: Tue, 28 Nov 2017 10:56:05 -0200 Subject: [PATCH] change default from in contacts mailer --- app/mailers/contacts_mailer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mailers/contacts_mailer.rb b/app/mailers/contacts_mailer.rb index 5c32f58d..35764830 100644 --- a/app/mailers/contacts_mailer.rb +++ b/app/mailers/contacts_mailer.rb @@ -18,6 +18,7 @@ # along with portalmec. If not, see <http://www.gnu.org/licenses/>. class ContactsMailer < ApplicationMailer + default from: Proc.new { @contact.email } def new_contact_received(contact) @contact = contact -- GitLab