54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"module": "agency",
|
|
"name": "Agencies",
|
|
"icon" : "local_shipping",
|
|
"validations" : true,
|
|
"routes": [
|
|
{
|
|
"url": "/zone",
|
|
"state": "zone",
|
|
"abstract": true,
|
|
"component": "ui-view",
|
|
"description": "Zones"
|
|
},
|
|
{
|
|
"url": "/index?q",
|
|
"state": "zone.index",
|
|
"component": "vn-zone-index",
|
|
"description": "List",
|
|
"acl": ["developer"]
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "zone.create",
|
|
"component": "vn-zone-create",
|
|
"description": "New zone"
|
|
},
|
|
{
|
|
"url": "/:id",
|
|
"state": "zone.card",
|
|
"component": "vn-zone-card",
|
|
"abstract": true,
|
|
"description": "Detail"
|
|
},
|
|
{
|
|
"url": "/location",
|
|
"state": "zone.card.location",
|
|
"component": "vn-zone-location",
|
|
"description": "Location",
|
|
"params": {
|
|
"zone": "$ctrl.zone"
|
|
}
|
|
},
|
|
{
|
|
"url": "/edit",
|
|
"state": "zone.card.edit",
|
|
"component": "vn-zone-edit",
|
|
"description": "Edit zone",
|
|
"params": {
|
|
"zone": "$ctrl.zone"
|
|
}
|
|
}
|
|
],
|
|
"menu": []
|
|
} |