backend/app/controllers/api/v1/Misc.controller.js

20 lines
447 B
JavaScript

const Controller = require('libflitter/controller/Controller')
const { ObjectId } = require("mongodb");
const Page = require("../../../models/api/Page.model")
/*
* Misc Controller
* -------------------------------------------------------------
* Put some description here!
*/
class Misc extends Controller {
hello_world(req, res) {
return res.api({
hello: 'world',
})
}
}
module.exports = exports = Misc