mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 16:39:55 +02:00
Version format checking in domain_versions#show
This commit is contained in:
parent
b17350dc95
commit
65d2be7c46
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
%th{class: 'col-xs-1'}= 'datetime'
|
||||
%tbody
|
||||
- @versions.each do |version|
|
||||
- next unless version.snapshot.is_a?(String)
|
||||
- children = YAML.load(version.snapshot)
|
||||
- next unless children.is_a?(Hash)
|
||||
- children = HashWithIndifferentAccess.new(children)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue