From ad4ccbb7678304b14491f6384d23a17eaf3f7681 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Thu, 17 Mar 2016 16:20:55 +0200 Subject: [PATCH] Story#105842700 - Add registrants to allowed contacts --- app/controllers/registrant/contacts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/registrant/contacts_controller.rb b/app/controllers/registrant/contacts_controller.rb index e79add8e9..db6c279eb 100644 --- a/app/controllers/registrant/contacts_controller.rb +++ b/app/controllers/registrant/contacts_controller.rb @@ -9,7 +9,7 @@ class Registrant::ContactsController < RegistrantController def contacts begin - DomainContact.where(domain_id: domain_ids).pluck(:contact_id) + DomainContact.where(domain_id: domain_ids).pluck(:contact_id) | Domain.where(id: domain_ids).pluck(:registrant_id) rescue Soap::Arireg::NotAvailableError => error flash[:notice] = I18n.t(error.json[:message]) Rails.logger.fatal("[EXCEPTION] #{error.to_s}")