Rename notifications.body to text

This commit is contained in:
Artur Beljajev 2018-08-23 21:26:33 +03:00
parent 8765baf319
commit dfff6f6d12
16 changed files with 30 additions and 22 deletions

View file

@ -6,7 +6,7 @@ module Admin
domain.transaction do
domain.schedule_force_delete
domain.registrar.notifications.create!(body: t('force_delete_set_on_domain',
domain.registrar.notifications.create!(text: t('force_delete_set_on_domain',
domain_name: domain.name))
if notify_by_email?