Integrate master

This commit is contained in:
Artur Beljajev 2018-08-27 12:27:45 +03:00
parent d27443277f
commit 034e8e9d11

View file

@ -32,13 +32,13 @@ class Registrant::ContactsController < RegistrantController
end
def current_user_domains
ident_cc, ident = @current_user.registrant_ident.split '-'
ident_cc, ident = current_registrant_user.registrant_ident.split '-'
begin
BusinessRegistryCache.fetch_associated_domains ident, ident_cc
rescue Soap::Arireg::NotAvailableError => error
flash[:notice] = I18n.t(error.json[:message])
Rails.logger.fatal("[EXCEPTION] #{error.to_s}")
current_user.domains
current_registrant_user.domains
end
end
end