Mercurial > pumpbridge
comparison index.js_to_pump.io-client-app_lib_routes @ 12:f190abf340ef
fixed some problems with facebook (caused by developers.facebook.com) removed fql :D
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Thu, 12 Jun 2014 10:23:05 +0200 |
parents | b73191efc65b |
children | c5bf4e02958e |
comparison
equal
deleted
inserted
replaced
11:9d17cb5147ca | 12:f190abf340ef |
---|---|
43 if (req.user) { | 43 if (req.user) { |
44 res.render('index', { pageTitle: "pumpbridge" , user: req.user}); | 44 res.render('index', { pageTitle: "pumpbridge" , user: req.user}); |
45 } else { | 45 } else { |
46 res.render('login', { pageTitle: "pumpbridge" }); | 46 res.render('login', { pageTitle: "pumpbridge" }); |
47 } | 47 } |
48 }; | |
49 | |
50 exports.about = function(req, res) { | |
51 res.render('about', { pageTitle: "About" }); | |
52 }; | 48 }; |
53 | 49 |
54 exports.login = function(req, res) { | 50 exports.login = function(req, res) { |
55 res.render('login', { pageTitle: "Login" }); | 51 res.render('login', { pageTitle: "Login" }); |
56 }; | 52 }; |