Permalink
Browse files

rename everyauth user helper

  • Loading branch information...
1 parent 1ca552d commit da8ae323016a313dbee504dd7f0163982651f237 @madhums committed Jan 30, 2012
Showing with 6 additions and 6 deletions.
  1. +3 −3 app/controllers/users-controller.js
  2. +3 −3 app/views/users/profile.jade
@@ -21,10 +21,10 @@ module.exports = function (app) {
// Profile view
app.get('/profile/:profileId', function (req, res) {
- var user = req.foundUser
+ var user1 = req.foundUser
res.render('users/profile', {
- title : user.fb.name.full
- , user : user
+ title : user1.fb.name.full
+ , user1 : user1
})
})
@@ -1,5 +1,5 @@
h2= title
-p= user.fb.gender
-p= user.location.name
-p= user.bio
+p= user1.fb.gender
+p= user1.location.name
+p= user1.bio

0 comments on commit da8ae32

Please sign in to comment.