Created
November 11, 2014 02:51
-
-
Save treygriffith/4b4383f6fd86b739bead to your computer and use it in GitHub Desktop.
Revisions
-
treygriffith created this gist
Nov 11, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ comment = @store.createRecord('comment', { author: @get('currentUser') # snip }) comment.get('author').then -> # comment.author is now resolved, safe to save comment.save()