Commits
William Welling authored 3d02e660da9
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 { } |