41650: moved files and made small full item page changes

This commit is contained in:
Lotte Hofstede
2017-05-23 16:44:05 +02:00
parent 57f42549cd
commit 145b080854
29 changed files with 71 additions and 31 deletions

View File

@@ -1,12 +1,14 @@
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ItemPageComponent } from './item-page.component';
import { ItemPageComponent } from './simple/item-page.component';
import { FullItemPageComponent } from './full/full-item-page.component';
@NgModule({
imports: [
RouterModule.forChild([
{ path: 'items/:id', pathMatch: 'full', component: ItemPageComponent },
{ path: 'items/:id/full', pathMatch: 'full', component: FullItemPageComponent },
])
]
})