aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-03-26 13:37:24 +0100
committerDennis Eriksen <dennis.se@gmail.com>2013-03-26 13:37:24 +0100
commit7301c4378844cefd5536d53ea605bbf7c81b0219 (patch)
treee1738481ece5cd57f82d4d7f9e46972b07289d1b /router.js
parentmade a universal error-file (diff)
downloadDivid-7301c4378844cefd5536d53ea605bbf7c81b0219.tar.gz
created signup page
Diffstat (limited to '')
-rw-r--r--router.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/router.js b/router.js
index 6279d62..50b5419 100644
--- a/router.js
+++ b/router.js
@@ -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
*/