Last active
August 29, 2015 14:12
-
-
Save lolmaus/058d7ebf98c14cec7fb9 to your computer and use it in GitHub Desktop.
This file contains 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 characters
StatsController = Ember.Controller.extend | |
currentSelection: Ember.computed -> this.createSelection() | |
createSelection: -> @store.createRecord 'selection' | |
actions: | |
reset: -> @set 'currentSelection', @createSelection() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment