whaambang/warm_it_up_ember — pull request #14 by alanbsmith (2014-11-30 23:41:17+00:00)
Title: GitHub auth

Ember uses an ajax request in the application controller to ask rails who the current user is. There's a little trickery in the navbar partial template to make this happen as you would expect. There is also a little logic in the navbar to sign out.

THE ONLY ISSUE WITH IT CURRENTLY
You have to refresh the page to get ember to update the information, and recognize the current user. I'll work on something to fix that, but with a current user available, you can attach points to posses, etc.