mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Ensure that Whois record is updated/destroyed when actions performed on Zone objects
This commit is contained in:
parent
7e640a376e
commit
55de10a53d
4 changed files with 36 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Concerns
|
|||
|
||||
included do
|
||||
after_save :update_whois_record, if: :subzone?
|
||||
after_destroy :update_whois_record, if: :subzone?
|
||||
after_destroy :update_whois_record
|
||||
end
|
||||
|
||||
def subzone?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue