You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CoreID/app/controllers/dash/Profile.controller.js

17 lines
386 B

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