diff --git a/app/views/registrant/contacts/show/_domains.html.erb b/app/views/registrant/contacts/show/_domains.html.erb index e88ef0c63..a55aca786 100644 --- a/app/views/registrant/contacts/show/_domains.html.erb +++ b/app/views/registrant/contacts/show/_domains.html.erb @@ -42,12 +42,12 @@ - <% domains.each do |x| %> + <% domains.each do |domain| %> - <%= link_to(x.name, [:registrant, x]) %> - <%= link_to(x.registrar, [:registrant, x.registrar]) %> - <%= l(x.valid_to, format: :short) %> - <%= x.roles.join(", ") %> + <%= link_to(domain.name, [:registrant, domain]) %> + <%= link_to(domain.registrar, [:registrant, domain.registrar]) %> + <%= l(domain.valid_to, format: :short) %> + <%= domain.roles.join(", ") %> <% end %>