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