CoreID/app/controllers/dash/Misc.controller.js
2020-05-21 22:56:48 -05:00

17 lines
376 B
JavaScript

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