fix a few minor issues post merge

pull/328/head
Michael Q Larson 2015-04-16 23:16:55 -07:00
parent d7f862eea5
commit d2fae63310
3 changed files with 3 additions and 3 deletions

2
app.js
View File

@ -108,7 +108,7 @@ app.use(session({
secret: secrets.sessionSecret,
store: new MongoStore({
url: secrets.db,
'auto_reconnect': true
'autoReconnect': true
})
}));
app.use(passport.initialize());

View File

@ -5,7 +5,7 @@
exports.index = function(req, res) {
if (req.user) {
res.redirect('/learn-to-code')
res.redirect('/challenges/')
} else {
res.render('home', {
title: 'Learn to Code and Become a Software Engineer'

View File

@ -36,7 +36,7 @@
a(href='/' + user.profile.username) [ #{user.progressTimestamps.length} ]
else
a(href='/account') [ #{user.points} ]
a(href='/account') [ #{user.progressTimestamps.length} ]
.hidden-xs
if user.profile.picture
if (user.profile.username)