mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
nameserver change tracking
This commit is contained in:
parent
ed34483bc2
commit
6b783fd45e
8 changed files with 44 additions and 26 deletions
|
@ -66,6 +66,7 @@ class Contact < ActiveRecord::Base
|
|||
def domains_snapshot
|
||||
(domains + domains_owned).uniq.each do |domain|
|
||||
next unless domain.is_a?(Domain)
|
||||
next if domain.versions.last == domain.create_snapshot
|
||||
domain.touch_with_version # Method from paper_trail
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue