mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Story 108621138 - include domain name in msg body, updates a0ff1c99d0
This commit is contained in:
parent
b7397282b1
commit
02d78ac1d3
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ class Domain < ActiveRecord::Base
|
|||
domain.destroy
|
||||
bye_bye = domain.versions.last
|
||||
domain.registrar.messages.create!(
|
||||
body: "#{I18n.t(:domain_deleted)}: #{name}",
|
||||
body: "#{I18n.t(:domain_deleted)}: #{domain.name}",
|
||||
attached_obj_id: bye_bye.id,
|
||||
attached_obj_type: bye_bye.class.to_s # DomainVersion
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue