aboutsummaryrefslogtreecommitdiff
path: root/routes/index.js
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-27 21:06:53 +0000
committerHumairAK <humair88@hotmail.com>2016-07-27 21:06:53 +0000
commitceba1e6492485dba09ef2989a61c090480543072 (patch)
tree8d9c416802cdfd2365b15be0b3ba883338f8d56c /routes/index.js
parent7e01103f9bfc9b9cb0e91b81cc3495ac31381c20 (diff)
added privacy and terms pages, added routes as well
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/routes/index.js b/routes/index.js
index 4117e41..b2a90dc 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -23,6 +23,16 @@ router.get('/about', function(req, res, next) {
res.render('about');
});
+/** Serve the terms_and_conditions.hbs page */
+router.get('/terms_and_conditions', function(req, res, next) {
+ res.render('terms_and_conditions');
+});
+
+/** Serve the privacy_poicy.hbs page */
+router.get('/privacy_policy', function(req, res, next) {
+ res.render('privacy_policy');
+});
+
/** Serve the profile page of a user with given username */
router.get('/public_profile/:username', function(req,res,next){