diff options
Diffstat (limited to '')
-rw-r--r-- | router.js | 19 | ||||
-rw-r--r-- | views/signup.ejs | 8 |
2 files changed, 27 insertions, 0 deletions
@@ -41,6 +41,25 @@ module.exports = function(app) { /* + * GET signup page + * + * '/signup' + */ + + app.get('/signup', function(req, res) { + res.render('signup', { title: 'Registrer deg' }); + }); + + + + + + + + + + + /* * 404 ERROR */ diff --git a/views/signup.ejs b/views/signup.ejs new file mode 100644 index 0000000..05837c2 --- /dev/null +++ b/views/signup.ejs @@ -0,0 +1,8 @@ +<% include header %> +</head> +<body> + + + + +<% include footer %> |