CoreID/app/routing/routers/dash/cobalt.routes.js

19 lines
327 B
JavaScript
Raw Normal View History

2020-05-12 01:26:09 +00:00
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