edit
This commit is contained in:
@ -37,7 +37,11 @@ import { CwcBankCardManagementIndexComponent } from './components/bank-card-mana
|
|||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'freight-account', component: FreightAccountComponent, data: { guard: { ability: ['FINANCIAL-FREIGHT-ACOUNT-list'] } } },
|
{ path: 'freight-account', component: FreightAccountComponent, data: { guard: { ability: ['FINANCIAL-FREIGHT-ACOUNT-list'] } } },
|
||||||
{ path: 'freight-account/detail/:id', component: FreightAccountDetailComponent },
|
{
|
||||||
|
path: 'freight-account/detail/:id',
|
||||||
|
component: FreightAccountDetailComponent,
|
||||||
|
data: { guard: { ability: ['FINANCIAL-FREIGHT-ACOUNT-DETAIL-view'] } }
|
||||||
|
},
|
||||||
{ path: 'driver-account', component: DriverAccountComponent, data: { guard: { ability: ['FINANCIAL-DRIVER-ACOUNT-list'] } } },
|
{ path: 'driver-account', component: DriverAccountComponent, data: { guard: { ability: ['FINANCIAL-DRIVER-ACOUNT-list'] } } },
|
||||||
{
|
{
|
||||||
path: 'driver-account/detail/:id',
|
path: 'driver-account/detail/:id',
|
||||||
|
|||||||
Reference in New Issue
Block a user