From 8c9a533758f102bbc0fcf9e6fe0c42cfdd0a92b0 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Thu, 8 Jan 2015 23:33:17 -0800 Subject: [PATCH] fix a couple minor issues with the user controller serving the public profile views --- controllers/user.js | 3 ++- views/account/show.jade | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/user.js b/controllers/user.js index 35046795091..ba4468e55cc 100644 --- a/controllers/user.js +++ b/controllers/user.js @@ -183,13 +183,14 @@ exports.returnUser = function(req, res, next) { username: user.profile.username, name: user.profile.name, location: user.profile.location, - coderbyteProfile: user.profile.linkedinProfile, + coderbyteProfile: user.profile.coderbyteProfile, githubProfile: user.profile.githubProfile, linkedinProfile: user.profile.linkedinProfile, codepenProfile: user.profile.codepenProfile, twitterHandle: user.profile.twitterHandle, bio: user.profile.bio, picture: user.profile.picture, + points: user.points, website1Link: user.portfolio.website1Link, website1Title: user.portfolio.website1Title, website1Image: user.portfolio.website1Image, diff --git a/views/account/show.jade b/views/account/show.jade index 5a5f853faf3..41e9d57a37f 100644 --- a/views/account/show.jade +++ b/views/account/show.jade @@ -66,7 +66,7 @@ block content .row .col-xs-4.text-right h1 - = "[ " + user.points + " ]" + = "[ " + points + " ]" .col-xs-8.text-left h1 - if (twitterHandle)