Make sure from is present
This commit is contained in:
parent
222db71dd7
commit
420d3d651b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue