Commits

William Welling authored 3d02e660da9
fixed core and shared module usage, lazy loading modules
No tags

src/app/+collection-page/collection-page-routing.module.ts

Moved
1 1 import { NgModule } from '@angular/core';
2 2 import { RouterModule } from '@angular/router';
3 3
4 4 import { CollectionPageComponent } from './collection-page.component';
5 5
6 6 @NgModule({
7 7 imports: [
8 8 RouterModule.forChild([
9 - { path: 'collections/:id', component: CollectionPageComponent }
9 + { path: ':id', component: CollectionPageComponent, pathMatch: 'full' }
10 10 ])
11 11 ]
12 12 })
13 13 export class CollectionPageRoutingModule { }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut