Skip to content

Commit

Permalink
Pass user to template context
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Feb 19, 2013
1 parent f9e14d9 commit 9157a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions intercom/templatetags/intercom_tags.py
Expand Up @@ -26,6 +26,7 @@ def intercom_js(user):
"app_id": settings.INTERCOM_APP_ID,
"email": user.email,
"user_hash": user_hash,
"user": user,
"created_at": int(time.mktime(user.date_joined.timetuple())),
"custom_data": simplejson.dumps(custom_data, ensure_ascii=False)
}
Expand Down

0 comments on commit 9157a3e

Please sign in to comment.