Story #105846070 - enable user view, registrant shows user domains

This commit is contained in:
Matt Farnsworth 2015-12-11 14:41:57 +02:00
parent a5e3c95b35
commit cf1f9818b3
2 changed files with 8 additions and 9 deletions

View file

@ -1,5 +1,7 @@
class Registrant::DomainsController < RegistrantController
def index
authorize! :view, :registrant_domains
ident_cc, ident = @current_user.registrant_ident.split '-'
@domains = BusinessRegistryCache.fetch_associated_domains ident, ident_cc
end
end