mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Integrate master
This commit is contained in:
parent
d27443277f
commit
034e8e9d11
1 changed files with 2 additions and 2 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue