feat: use route provider and make all config public

pull/4377/head
Arman Ozak 5 years ago
parent 035643daa6
commit dff718b6f4

@ -0,0 +1,3 @@
export * from './enums';
export * from './providers';
export * from './tenant-management-config.module';

@ -0,0 +1,12 @@
import { ModuleWithProviders, NgModule } from '@angular/core';
import { TENANT_MANAGEMENT_ROUTE_PROVIDERS } from './providers/route.provider';
@NgModule()
export class TenantManagementConfigModule {
static forRoot(): ModuleWithProviders<TenantManagementConfigModule> {
return {
ngModule: TenantManagementConfigModule,
providers: [TENANT_MANAGEMENT_ROUTE_PROVIDERS],
};
}
}
Loading…
Cancel
Save