metadata service

This commit is contained in:
William Welling
2017-10-12 19:08:03 -05:00
parent c9338e2626
commit f4c0df176e
25 changed files with 1018 additions and 170 deletions

View File

@@ -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 {
}