Story #105846070 - revert domains_controller and domains/index to allow merge

This commit is contained in:
Matt Farnsworth 2015-12-14 13:13:55 +02:00
parent 23d4547e2b
commit 3d71a01280
2 changed files with 9 additions and 13 deletions

View file

@ -1,12 +1,5 @@
class Registrant::DomainsController < RegistrantController
def index
authorize! :view, :registrant_domains
ident_cc, ident = @current_user.registrant_ident.split '-'
begin
@domains = BusinessRegistryCache.fetch_associated_domains ident, ident_cc
rescue Soap::Arireg::NotAvailableError => error
flash[:notice] = I18n.t(error.message[:message])
@domains = []
end
end
end