fix a couple minor issues with the user controller serving the public profile views
parent
0ce9f103f0
commit
8c9a533758
|
@ -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,
|
||||
|
|
|
@ -66,7 +66,7 @@ block content
|
|||
.row
|
||||
.col-xs-4.text-right
|
||||
h1
|
||||
= "[ " + user.points + " ]"
|
||||
= "[ " + points + " ]"
|
||||
.col-xs-8.text-left
|
||||
h1
|
||||
- if (twitterHandle)
|
||||
|
|
Loading…
Reference in New Issue