edit
This commit is contained in:
@ -13,13 +13,12 @@ import { RouterModule, Routes } from '@angular/router';
|
||||
import { insuranceManagementListComponent } from './components/list/list.component';
|
||||
import { insuranceManagementSetComponent } from './components/set/set.component';
|
||||
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'list', component: insuranceManagementListComponent },
|
||||
{ path: 'list-set', component: insuranceManagementSetComponent },
|
||||
]
|
||||
{ path: 'list', component: insuranceManagementListComponent, data: { guard: { ability: ['INSURANCE-LIST-search'] } } },
|
||||
{ path: 'list-set', component: insuranceManagementSetComponent, data: { guard: { ability: ['INSURANCE-LISTDETAIL-set'] } } }
|
||||
];
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class InsuranceManagementRoutingModule { }
|
||||
export class InsuranceManagementRoutingModule {}
|
||||
|
||||
Reference in New Issue
Block a user