Make sure from is present

This commit is contained in:
riking 2014-06-23 17:51:22 -07:00
parent 222db71dd7
commit 420d3d651b

View file

@ -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)