mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
7 lines
264 B
Ruby
7 lines
264 B
Ruby
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
|