mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
rubocop ruby syntax updated
This commit is contained in:
parent
21b7b4a2e1
commit
eb96a07eaa
1 changed files with 10 additions and 10 deletions
|
@ -44,17 +44,17 @@ class Epp::KeyrelaysController < EppController
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
||||||
domain = Epp::Domain.includes(:registrant).find_by(name: domain_name)
|
# domain = Epp::Domain.includes(:registrant).find_by(name: domain_name)
|
||||||
|
|
||||||
unless domain
|
# unless domain
|
||||||
epp_errors << {
|
# epp_errors << {
|
||||||
code: '2303',
|
# code: '2303',
|
||||||
msg: I18n.t('errors.messages.epp_domain_not_found'),
|
# msg: I18n.t('errors.messages.epp_domain_not_found'),
|
||||||
value: { obj: 'name', val: domain_name }
|
# value: { obj: 'name', val: domain_name }
|
||||||
}
|
# }
|
||||||
return nil
|
# return nil
|
||||||
end
|
# end
|
||||||
|
|
||||||
domain
|
# domain
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue