summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.js b/server.js
index e852a61..feb06ca 100644
--- a/server.js
+++ b/server.js
@@ -359,6 +359,10 @@ app.get('/', function (req, res) {
res.render('index.pug', { user: req.user, titles: TITLES })
})
+app.get('/create', must_be_logged_in, function (req, res) {
+ res.render('create-index.pug', { user: req.user, titles: TITLES })
+})
+
app.get('/about', function (req, res) {
res.render('about.pug', { user: req.user })
})