Update app/lib/view_helper.coffee #43

Merged
merged 2 commits into from Oct 11, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

@@ -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)