19 lines
327 B
JavaScript
19 lines
327 B
JavaScript
const cobalt_routes = {
|
|
prefix: '/dash/c',
|
|
|
|
middleware: [
|
|
'auth:UserOnly',
|
|
],
|
|
|
|
get: {
|
|
'/listing/:resource*': [
|
|
'controller::Cobalt.listing',
|
|
],
|
|
'/form/:resource*': [
|
|
'controller::Cobalt.form',
|
|
],
|
|
},
|
|
}
|
|
|
|
module.exports = exports = cobalt_routes
|