mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 00:33:36 +02:00
Remove unneeded if statement
Domain registrant is always present
This commit is contained in:
parent
b71b0238e6
commit
58efa020a5
1 changed files with 1 additions and 3 deletions
|
@ -71,9 +71,7 @@
|
|||
- @domains.each do |domain|
|
||||
%tr
|
||||
%td= link_to(truncate(domain.name), info_registrar_domains_path(domain_name: domain.name))
|
||||
%td
|
||||
- if domain.registrant
|
||||
= link_to(domain.registrant, registrar_contact_path(id: domain.registrant.code))
|
||||
%td= link_to(domain.registrant, registrar_contact_path(id: domain.registrant.code))
|
||||
%td= l(domain.valid_to, format: :date_long)
|
||||
%td
|
||||
= link_to(t(:edit), edit_registrar_domains_path(domain_name: domain.name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue