Created
February 27, 2012 04:44
-
-
Save mikeknoop/1921461 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
initRules: () -> | |
# Rules are children of reads. Setup the @rules collection, set a URL on the collection. | |
# then fetch all the children from the api | |
@rules = new Rules({}) | |
@rules.url = () -> | |
return "#{@url()}/rules" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment