From 7301c4378844cefd5536d53ea605bbf7c81b0219 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 26 Mar 2013 13:37:24 +0100 Subject: created signup page --- router.js | 19 +++++++++++++++++++ views/signup.ejs | 8 ++++++++ 2 files changed, 27 insertions(+) create mode 100644 views/signup.ejs diff --git a/router.js b/router.js index 6279d62..50b5419 100644 --- a/router.js +++ b/router.js @@ -40,6 +40,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 %> + + + + + + +<% include footer %> -- cgit v1.2.3