salix/modules/agency/front/routes.json

52 lines
1.5 KiB
JSON
Raw Normal View History

2018-09-25 06:53:57 +00:00
{
"module": "agency",
"name": "Agencies",
"icon" : "local_shipping",
"validations" : true,
2019-01-28 15:24:45 +00:00
"menu": [
{"state": "zone.card.basicData", "icon": "settings"},
{"state": "zone.card.location", "icon": "my_location"}
],
2018-09-25 06:53:57 +00:00
"routes": [
{
"url": "/zone",
"state": "zone",
"abstract": true,
"component": "ui-view",
"description": "Zones"
2019-01-28 15:24:45 +00:00
}, {
2018-09-25 06:53:57 +00:00
"url": "/index?q",
"state": "zone.index",
"component": "vn-zone-index",
2019-01-27 23:26:01 +00:00
"description": "Zones",
2018-09-25 06:53:57 +00:00
"acl": ["developer"]
2019-01-28 15:24:45 +00:00
}, {
2018-09-25 06:53:57 +00:00
"url": "/create",
"state": "zone.create",
"component": "vn-zone-create",
"description": "New zone"
2019-01-28 15:24:45 +00:00
}, {
2018-09-25 06:53:57 +00:00
"url": "/:id",
"state": "zone.card",
"component": "vn-zone-card",
"abstract": true,
"description": "Detail"
2019-01-28 15:24:45 +00:00
}, {
2019-01-21 10:45:53 +00:00
"url": "/location?q",
"state": "zone.card.location",
"component": "vn-zone-location",
2019-01-21 10:45:53 +00:00
"description": "Locations",
2018-09-25 06:53:57 +00:00
"params": {
"zone": "$ctrl.zone"
}
2019-01-28 15:24:45 +00:00
}, {
2019-01-21 10:45:53 +00:00
"url": "/basic-data",
"state": "zone.card.basicData",
"component": "vn-zone-basic-data",
"description": "Basic data",
2018-09-25 06:53:57 +00:00
"params": {
"zone": "$ctrl.zone"
}
}
2019-01-21 10:45:53 +00:00
]
2018-09-25 06:53:57 +00:00
}