From bf5ab32fe919c4426cbad9360b6bcd558e3eb679 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Sun, 22 Sep 2013 23:06:12 +0200 Subject: [PATCH 1/2] Renamed user image data helper to make more sense --- core/server.js | 2 +- core/server/views/partials/navbar.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/server.js b/core/server.js index 25b4c3f4fe..c0de647805 100644 --- a/core/server.js +++ b/core/server.js @@ -112,7 +112,7 @@ function ghostLocals(req, res, next) { _.extend(res.locals, { currentUser: { name: currentUser.attributes.name, - profile: currentUser.attributes.image + image: currentUser.attributes.image } }); next(); diff --git a/core/server/views/partials/navbar.hbs b/core/server/views/partials/navbar.hbs index d9d7ab2430..ea1cc471f6 100644 --- a/core/server/views/partials/navbar.hbs +++ b/core/server/views/partials/navbar.hbs @@ -9,7 +9,7 @@