mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
* added authenticate guard
* added metadata schema form, with the form model fields & validation and layout * fixed the pagination for schemas and fields * added reducer and actions for the registry state
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { NgModule } from '@angular/core';
|
||||
import {AuthenticatedGuard} from "../core/auth/authenticated.guard";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forChild([
|
||||
{ path: 'registries', loadChildren: './admin-registries/admin-registries.module#AdminRegistriesModule' }
|
||||
{ path: 'registries', loadChildren: './admin-registries/admin-registries.module#AdminRegistriesModule', canActivate: [AuthenticatedGuard] }
|
||||
])
|
||||
]
|
||||
})
|
||||
|
Reference in New Issue
Block a user