paulmillr/brunch-with-chaplin — pull request #43 by andriijas (2012-10-10 13:25:01+00:00)
Title: Update app/lib/view_helper.coffee

You are never intressted in the actual user object in template context, just it attributes.

Took the change from ost.io and added in ? after mediator.user so that it works with mediator.user = null as well.