Big commit
This commit is contained in:
9
controllers/thankyou/index.js
Normal file
9
controllers/thankyou/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports.index = function(req, res) {
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
|
||||
res.render('index.jade', res.locals, function(err, result) {
|
||||
console.log(err);
|
||||
res.send(result);
|
||||
});
|
||||
};
|
||||
|
||||
3
controllers/thankyou/urls.js
Normal file
3
controllers/thankyou/urls.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
'/thankyou': 'index',
|
||||
};
|
||||
5
controllers/thankyou/views/index.jade
Normal file
5
controllers/thankyou/views/index.jade
Normal file
@@ -0,0 +1,5 @@
|
||||
extends ../../../views/base.jade
|
||||
|
||||
block content
|
||||
h1 Thank you for everything !
|
||||
|
||||
Reference in New Issue
Block a user