mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33: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
|
||||
|
||||
domain = Epp::Domain.includes(:registrant).find_by(name: domain_name)
|
||||
# domain = Epp::Domain.includes(:registrant).find_by(name: domain_name)
|
||||
|
||||
unless domain
|
||||
epp_errors << {
|
||||
code: '2303',
|
||||
msg: I18n.t('errors.messages.epp_domain_not_found'),
|
||||
value: { obj: 'name', val: domain_name }
|
||||
}
|
||||
return nil
|
||||
end
|
||||
# unless domain
|
||||
# epp_errors << {
|
||||
# code: '2303',
|
||||
# msg: I18n.t('errors.messages.epp_domain_not_found'),
|
||||
# value: { obj: 'name', val: domain_name }
|
||||
# }
|
||||
# return nil
|
||||
# end
|
||||
|
||||
domain
|
||||
# domain
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue