From 7792a78f22296e9c5378291c8b66d29f4c9e7ae7 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 18 Jun 2018 01:25:18 +0300 Subject: [PATCH] Improve readability --- app/views/registrant/contacts/show/_domains.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 %>