Skip to content

Instantly share code, notes, and snippets.

@bryanhelmig
Forked from mikeknoop/gist:1921461
Created February 27, 2012 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanhelmig/1921463 to your computer and use it in GitHub Desktop.
Save bryanhelmig/1921463 to your computer and use it in GitHub Desktop.
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.urlRoot = "#{@url()}/rules"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment