Initial changes to create a campaign

This commit is contained in:
2021-12-27 02:25:03 +02:00
parent 3141d8ed48
commit d8bf6dcafb
7 changed files with 137 additions and 2 deletions

View File

@@ -8,8 +8,15 @@ module.exports = function (options) {
.get(function(request, response, next) {
response.display("campaigns", {
user: request.user,
pageTitle: "Library - Mantra"
pageTitle: "Campaign - Mantra"
})
})
router.route('/create')
.post(function(request, response, next) {
console.log(request.body)
next()
})
return router;
};