CoreID/app/controllers/dash/Profile.controller.js
2020-05-03 20:16:54 -05:00

17 lines
386 B
JavaScript

const { Controller } = require('libflitter')
class ProfileController extends Controller {
static get services() {
return [...super.services, 'Vue']
}
async get_page(req, res, next) {
return res.page('dash:profile:main', {
...this.Vue.data(),
...this.Vue.session(req)
})
}
}
module.exports = exports = ProfileController