mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
Rename notifications.body
to text
This commit is contained in:
parent
8765baf319
commit
dfff6f6d12
16 changed files with 30 additions and 22 deletions
|
@ -272,7 +272,7 @@ class Domain < ActiveRecord::Base
|
|||
|
||||
def notify_registrar(message_key)
|
||||
registrar.notifications.create!(
|
||||
body: "#{I18n.t(message_key)}: #{name}",
|
||||
text: "#{I18n.t(message_key)}: #{name}",
|
||||
attached_obj_id: id,
|
||||
attached_obj_type: self.class.to_s
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue