tweaking users/* calls

v1.18.x
Julian Lam 12 years ago
parent 0ae4e31163
commit 6d36df1604

@ -270,7 +270,7 @@ passport.deserializeUser(function(uid, done) {
app.get('/users/:username', function(req, res) {
global.modules.user.get_uid_by_username(req.params.username, function(uid) {
res.send(templates['header'] + templates['user_profile'].parse({ uid: uid }) + templates['footer']);
res.send('User profile for uid: ' + uid);
});
});
}(WebServer));

Loading…
Cancel
Save