CoreID/app/routing/routers/dash/cobalt.routes.js
2020-05-11 20:26:09 -05:00

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