Skip to content
Browse files

Update app/lib/view_helper.coffee

  • Loading branch information...
1 parent f5b0e5e commit 2c479a9c0e350c1987a162b160fdb14ea3069c95 @andriijas committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/lib/view_helper.coffee
View
2 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?.getAttributes() or {}
+ context = mediator.user?.serialize() or {}
Handlebars.helpers.with.call(this, context, options)

0 comments on commit 2c479a9

Please sign in to comment.
Something went wrong with that request. Please try again.