mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
fix path to localize issue
This commit is contained in:
parent
58a1dbafb0
commit
98f0bb283e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Epp::Domain < Domain
|
|||
([Contact.find(registrant.id)] + active_admins + active_techs).each do |x|
|
||||
unless x.valid?
|
||||
if x.class.name == 'AdminDomainContact' && x.contact.underage?
|
||||
add_epp_error('2304', nil, nil, I18n.t('activerecord.errors.models.domain.contact_too_young'))
|
||||
add_epp_error('2304', nil, nil, I18n.t('activerecord.errors.models.admin_domain_contact.contact_too_young'))
|
||||
else
|
||||
add_epp_error('2304', nil, nil, I18n.t(:contact_is_not_valid, value: x.try(:code)))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue