mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
saving with admin and public base
This commit is contained in:
parent
06776d15c4
commit
dd1b2763d8
425 changed files with 21493 additions and 11663 deletions
37
src/app/admin/category/category-routing.module.ts
Normal file
37
src/app/admin/category/category-routing.module.ts
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { CategoryComponent } from './category.component';
|
||||
import { CategoryEditComponent } from './category-edit/category-edit.component';
|
||||
import { CategoryUpsertComponent } from './category-upsert/category-upsert.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: CategoryComponent,
|
||||
children: [
|
||||
{
|
||||
path: 'edit',
|
||||
component: CategoryEditComponent,
|
||||
},
|
||||
{
|
||||
path: 'edit/:id',
|
||||
component: CategoryUpsertComponent,
|
||||
},
|
||||
{
|
||||
path: 'create',
|
||||
component: CategoryUpsertComponent,
|
||||
},
|
||||
],
|
||||
}];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class CategoryRoutingModule { }
|
||||
|
||||
export const routedComponents = [
|
||||
CategoryComponent,
|
||||
CategoryEditComponent,
|
||||
CategoryUpsertComponent
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue