Permalink
Browse files

Merge pull request #43 from andriijas/patch-2

Update app/lib/view_helper.coffee
  • Loading branch information...
2 parents 7218d21 + 2c479a9 commit 5a387513ce80a469a6b3f5e56b47c172c70d48c7 @paulmillr committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/lib/view_helper.coffee
@@ -35,5 +35,5 @@ Handlebars.registerHelper 'without', (context, options) ->
# Evaluate block with context being current user
Handlebars.registerHelper 'with_user', (options) ->
- context = mediator.user or {}
+ context = mediator.user?.serialize() or {}
Handlebars.helpers.with.call(this, context, options)

0 comments on commit 5a38751

Please sign in to comment.