boooomb
This commit is contained in:
@@ -5,6 +5,7 @@ import { CategoryEditorComponent } from './pages/category-editor/category-editor
|
||||
import { SubcategoryEditorComponent } from './pages/subcategory-editor/subcategory-editor.component';
|
||||
import { ItemsListComponent } from './pages/items-list/items-list.component';
|
||||
import { ItemEditorComponent } from './pages/item-editor/item-editor.component';
|
||||
import { ItemPreviewComponent } from './pages/item-preview/item-preview.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
@@ -30,6 +31,10 @@ export const routes: Routes = [
|
||||
{
|
||||
path: 'item/:itemId',
|
||||
component: ItemEditorComponent
|
||||
},
|
||||
{
|
||||
path: 'item/:itemId/preview',
|
||||
component: ItemPreviewComponent
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user