mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Fixed version showing for pre-archive items
This commit is contained in:
parent
dea02eeba9
commit
995cfcee9c
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class DomainVersion < PaperTrail::Version
|
|||
self.sequence_name = :domain_version_id_seq
|
||||
|
||||
def load_snapshot
|
||||
YAML.load(snapshot)
|
||||
snapshot ? YAML.load(snapshot) : {}
|
||||
end
|
||||
|
||||
def previous?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue