Skip to content

Instantly share code, notes, and snippets.

@daveaugustine
Created February 8, 2012 18:34
Show Gist options
  • Save daveaugustine/1771991 to your computer and use it in GitHub Desktop.
Save daveaugustine/1771991 to your computer and use it in GitHub Desktop.
simple router example
class Router extends Backbone.Router
routes:
'listings/:id': 'listing'
listing: (id) ->
# update content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment