Story #109367018 - add domain info for new registrant

This commit is contained in:
Matt Farnsworth 2015-12-17 18:08:52 +02:00
parent 98f8a2b440
commit eb6c1d607b

View file

@ -32,7 +32,13 @@ class DomainMailModel
registrant_pending registrant_pending
registrant_old registrant_old
subject(:registrant_updated_notification_for_old_registrant_subject) subject(:registrant_updated_notification_for_old_registrant_subject)
domain_info new_registrant = Registrant.find @domain.pending_json['new_registrant_id']
@params[:registrant_name] = new_registrant.name
@params[:registrant_ident] = new_registrant.ident
@params[:registrant_priv] = new_registrant.priv?
@params[:registrant_email] = new_registrant.email
@params[:registrant_street] = new_registrant.street
@params[:registrant_city] = new_registrant.city
compose compose
end end