Renamed owner_contact to registrant

This commit is contained in:
Priit Tark 2015-04-16 12:23:06 +03:00
parent 92f41ebe0b
commit 8cd3dcf551
21 changed files with 126 additions and 812 deletions

View file

@ -34,7 +34,7 @@ class Epp::KeyrelaysController < EppController
def find_domain
domain_name = params[:parsed_frame].css('name').text.strip.downcase
domain = Epp::Domain.includes(:owner_contact).find_by(name: domain_name)
domain = Epp::Domain.includes(:registrant).find_by(name: domain_name)
unless domain
epp_errors << {