salix/modules/entry/front/routes.json

41 lines
1.0 KiB
JSON

{
"module": "entry",
"name": "Entries",
"icon": "icon-entry",
"dependencies": ["travel"],
"validations": true,
"menus": {
"main": [
{"state": "entry.index", "icon": "icon-entry"}
],
"card": [
]
},
"routes": [
{
"url": "/entry",
"state": "entry",
"abstract": true,
"component": "vn-entry",
"description": "Entries"
}, {
"url": "/index?q",
"state": "entry.index",
"component": "vn-entry-index",
"description": "Entries"
}, {
"url": "/:id",
"state": "entry.card",
"abstract": true,
"component": "vn-entry-card"
}, {
"url": "/summary",
"state": "entry.card.summary",
"component": "vn-entry-summary",
"description": "Summary",
"params": {
"entry": "$ctrl.entry"
}
}
]
}