mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
metadata service
This commit is contained in:
@@ -2,12 +2,15 @@ import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
|
||||
import { CollectionPageComponent } from './collection-page.component';
|
||||
import { NormalizedCollection } from '../core/cache/models/normalized-collection.model';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forChild([
|
||||
{ path: ':id', component: CollectionPageComponent, pathMatch: 'full' }
|
||||
{ path: ':id', component: CollectionPageComponent, pathMatch: 'full', data: { type: NormalizedCollection } }
|
||||
])
|
||||
]
|
||||
})
|
||||
export class CollectionPageRoutingModule { }
|
||||
export class CollectionPageRoutingModule {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user