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.
17 lines
386 B
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
|