Updated bullet issue for Domain create

This commit is contained in:
Priit Tark 2015-03-31 16:00:30 +03:00
parent 0533d16028
commit c5860bde98
3 changed files with 6 additions and 6 deletions

View file

@ -156,7 +156,7 @@ class Epp::DomainsController < EppController
def find_domain
domain_name = params[:parsed_frame].css('name').text.strip.downcase
@domain = Epp::Domain.where(name: domain_name).first
@domain = Epp::Domain.where(name: domain_name).includes(owner_contact: :registrar).first
unless @domain
epp_errors << {