aboutsummaryrefslogtreecommitdiffstatshomepage
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
parentmade a universal error-file (diff)
downloadDivid-7301c4378844cefd5536d53ea605bbf7c81b0219.tar.gz
created signup page
-rw-r--r--router.js19
-rw-r--r--views/signup.ejs8
2 files changed, 27 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
*/
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 %>