Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.