Move jobs from Que to ActiveJob

This commit is contained in:
Alex Sherman 2020-10-19 16:01:20 +05:00
parent 1d3be40e14
commit 313731232e
53 changed files with 390 additions and 157 deletions

View file

@ -37,6 +37,8 @@ class RegistrantChangeMailerPreview < ActionMailer::Preview
def expired
RegistrantChangeMailer.expired(domain: @domain,
registrar: @domain.registrar,
registrant: @domain.registrant)
registrant: @domain.registrant,
send_to: [@domain.new_registrant_email,
@domain.registrant.email])
end
end