You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
244 B
18 lines
244 B
4 years ago
|
module.exports = exports = {
|
||
|
|
||
|
prefix: '/api/v1/menu',
|
||
|
|
||
|
middleware: [
|
||
|
'auth:ApiRoute',
|
||
|
],
|
||
|
|
||
|
get: {
|
||
|
// Get the user's menu tree
|
||
|
'/items': ['controller::api:v1:Menu.get_items'],
|
||
|
},
|
||
|
|
||
|
post: {
|
||
|
|
||
|
},
|
||
|
}
|