update title for portfolio views and add public/js/bundle.js to gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,3 +25,4 @@ Thumbs.db
|
||||
bower_components
|
||||
.eslintignore
|
||||
.eslintrc
|
||||
public/js/bundle.js
|
||||
|
@ -258,7 +258,7 @@ exports.returnUser = function(req, res, next) {
|
||||
var user = user[0];
|
||||
Challenge.find({}, null, {sort: {challengeNumber: 1}}, function (err, c) {
|
||||
res.render('account/show', {
|
||||
title: 'Camper: ',
|
||||
title: 'Camper ' + user.profile.username + '\'s portfolio',
|
||||
username: user.profile.username,
|
||||
name: user.profile.name,
|
||||
location: user.profile.location,
|
||||
|
Reference in New Issue
Block a user