CoreID/app/controllers/dash/Misc.controller.js

17 lines
376 B
JavaScript
Raw Permalink Normal View History

2020-05-22 03:56:48 +00:00
const { Controller } = require('libflitter')
class MiscController extends Controller {
static get services() {
return [...super.services, 'Vue']
}
get_app_setup(req, res, next) {
return res.page('dash:app_setup', {
...this.Vue.session(req),
...this.Vue.data()
})
}
}
module.exports = exports = MiscController