rubocop ruby syntax updated

This commit is contained in:
Priit Tark 2015-05-08 11:39:49 +03:00
parent 21b7b4a2e1
commit eb96a07eaa

View file

@ -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