Refactor domain mailer

- Remove `Que::Mailer` (#895)
- Add preview
- DRY templates
- Add tests
- Extract translations
This commit is contained in:
Artur Beljajev 2019-04-12 15:03:55 +03:00
parent 6a61d7de5b
commit 4b91cf900f
21 changed files with 175 additions and 108 deletions

View file

@ -167,7 +167,7 @@ class Domain < ActiveRecord::Base
errors.add(:statuses, :taken)
end
attr_accessor :registrant_typeahead, :update_me, :deliver_emails,
attr_accessor :registrant_typeahead, :update_me,
:epp_pending_update, :epp_pending_delete, :reserved_pw
def subordinate_nameservers