From 420d3d651b268489291fb1570fcd5e6bb84a1580 Mon Sep 17 00:00:00 2001 From: riking Date: Mon, 23 Jun 2014 17:51:22 -0700 Subject: [PATCH] Make sure from is present --- app/mailers/rejection_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/rejection_mailer.rb b/app/mailers/rejection_mailer.rb index 324da3961d6..1d37395be9f 100644 --- a/app/mailers/rejection_mailer.rb +++ b/app/mailers/rejection_mailer.rb @@ -4,7 +4,7 @@ class RejectionMailer < ActionMailer::Base include Email::BuildEmailHelper def send_rejection(from, body, template, error) - build_email(from, template: template, error: error, source: body) + build_email(from, from: from, template: template, error: error, source: body) end def send_trust_level(from, template)