mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Story #105846070 - include results from business registry if found
This commit is contained in:
parent
e266c22741
commit
48ab1c7c7e
1 changed files with 7 additions and 1 deletions
|
@ -40,7 +40,13 @@ class Registrant::DomainsController < RegistrantController
|
|||
end
|
||||
|
||||
def domains
|
||||
current_user.domains
|
||||
ident_cc, ident = @current_user.registrant_ident.split '-'
|
||||
begin
|
||||
BusinessRegistryCache.fetch_associated_domains ident, ident_cc
|
||||
rescue Soap::Arireg::NotAvailableError => error
|
||||
flash[:notice] = I18n.t(error.message[:message])
|
||||
current_user.domains
|
||||
end
|
||||
end
|
||||
|
||||
def normalize_search_parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue