mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
25 lines
639 B
TypeScript
25 lines
639 B
TypeScript
import { RouterModule } from '@angular/router';
|
|
import { NgModule } from '@angular/core';
|
|
import { URLCombiner } from '../core/url-combiner/url-combiner';
|
|
import { getAdminModulePath } from '../app-routing.module';
|
|
|
|
const REGISTRIES_MODULE_PATH = 'registries';
|
|
|
|
export function getRegistriesModulePath() {
|
|
return new URLCombiner(getAdminModulePath(), REGISTRIES_MODULE_PATH).toString();
|
|
}
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forChild([
|
|
{
|
|
path: REGISTRIES_MODULE_PATH,
|
|
loadChildren: './admin-registries/admin-registries.module#AdminRegistriesModule'
|
|
}
|
|
])
|
|
]
|
|
})
|
|
export class AdminRoutingModule {
|
|
|
|
}
|