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,
|
username: user.profile.username,
|
||||||
name: user.profile.name,
|
name: user.profile.name,
|
||||||
location: user.profile.location,
|
location: user.profile.location,
|
||||||
coderbyteProfile: user.profile.linkedinProfile,
|
coderbyteProfile: user.profile.coderbyteProfile,
|
||||||
githubProfile: user.profile.githubProfile,
|
githubProfile: user.profile.githubProfile,
|
||||||
linkedinProfile: user.profile.linkedinProfile,
|
linkedinProfile: user.profile.linkedinProfile,
|
||||||
codepenProfile: user.profile.codepenProfile,
|
codepenProfile: user.profile.codepenProfile,
|
||||||
twitterHandle: user.profile.twitterHandle,
|
twitterHandle: user.profile.twitterHandle,
|
||||||
bio: user.profile.bio,
|
bio: user.profile.bio,
|
||||||
picture: user.profile.picture,
|
picture: user.profile.picture,
|
||||||
|
points: user.points,
|
||||||
website1Link: user.portfolio.website1Link,
|
website1Link: user.portfolio.website1Link,
|
||||||
website1Title: user.portfolio.website1Title,
|
website1Title: user.portfolio.website1Title,
|
||||||
website1Image: user.portfolio.website1Image,
|
website1Image: user.portfolio.website1Image,
|
||||||
|
|
|
@ -66,7 +66,7 @@ block content
|
||||||
.row
|
.row
|
||||||
.col-xs-4.text-right
|
.col-xs-4.text-right
|
||||||
h1
|
h1
|
||||||
= "[ " + user.points + " ]"
|
= "[ " + points + " ]"
|
||||||
.col-xs-8.text-left
|
.col-xs-8.text-left
|
||||||
h1
|
h1
|
||||||
- if (twitterHandle)
|
- if (twitterHandle)
|
||||||
|
|
Loading…
Reference in New Issue