Improve RegistrantChangeMailer

- Do not show registrant address unless "address_processing" is enabled
- Add missing registrant state and zip attributes

#480
This commit is contained in:
Artur Beljajev 2017-05-18 15:59:06 +03:00
parent 2c648ddc84
commit bfc0c0b74f
14 changed files with 164 additions and 43 deletions

View file

@ -594,4 +594,8 @@ class Contact < ActiveRecord::Base
return unless priv?
ident
end
def ident_country
Country.new(ident_country_code)
end
end