diff --git a/app/models/whois_record.rb b/app/models/whois_record.rb index ac5f17c7b..21db2bdc0 100644 --- a/app/models/whois_record.rb +++ b/app/models/whois_record.rb @@ -50,7 +50,7 @@ class WhoisRecord < ActiveRecord::Base h[:registrant] = domain.registrant.name h[:registrant_email] = domain.registrant.email @disclosed << [:email, domain.registrant.email] - h[:changed] = domain.registrant.updated_at.try(:to_s, :iso8601) + h[:registrant_changed] = domain.registrant.updated_at.try(:to_s, :iso8601) h[:admin_contacts] = [] domain.admin_contacts.each do |ac| diff --git a/app/views/for_models/whois.erb b/app/views/for_models/whois.erb index f1eba3ecf..030f10d51 100644 --- a/app/views/for_models/whois.erb +++ b/app/views/for_models/whois.erb @@ -14,7 +14,7 @@ delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %> Registrant: name: <%= json['registrant'] %> email: Not Disclosed - Visit www.internet.ee for webbased WHOIS -changed: <%= json['changed'].to_s.tr('T',' ').sub('+', ' +') %> +changed: <%= json['registrant_changed'].to_s.tr('T',' ').sub('+', ' +') %> <%- if json['admin_contacts'].present? -%> Administrative contact: