Instantly share code, notes, and snippets.

Embed
What would you like to do?
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