Skip to content

Instantly share code, notes, and snippets.

@tslim
Created April 21, 2012 05:23
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 tslim/2434247 to your computer and use it in GitHub Desktop.
Save tslim/2434247 to your computer and use it in GitHub Desktop.
class Dnscell.Routers.Domains extends Backbone.Router
routes: {
'dns_management/domains/': 'index'
'dns_management/domains': 'index'
'hosts/:id': 'hosts'
'dns_management/domains/:id': 'show_zone'
}
collection: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment