mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Merge branch 'master' of github.com:domify/registry
This commit is contained in:
commit
3c51b8537f
1 changed files with 1 additions and 5 deletions
|
@ -115,11 +115,7 @@ class Epp::ContactsController < EppController
|
|||
## SHARED
|
||||
|
||||
def find_contact(eager_load = nil)
|
||||
if eager_load
|
||||
contact = Contact.includes(address: :country).find_by(code: @ph[:id])
|
||||
else
|
||||
contact = Contact.find_by(code: @ph[:id])
|
||||
end
|
||||
contact = Contact.find_by(code: @ph[:id])
|
||||
unless contact
|
||||
epp_errors << { code: '2303',
|
||||
msg: t('errors.messages.epp_obj_does_not_exist'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue