Skip to content

Instantly share code, notes, and snippets.

@devinus
Created June 29, 2012 18:13
Show Gist options
  • Select an option

  • Save devinus/3019743 to your computer and use it in GitHub Desktop.

Select an option

Save devinus/3019743 to your computer and use it in GitHub Desktop.
foo: Em.Route.extend({
route: '/foo',
bar: Em.Route.extend({
route: '/:bar'
})
})
foo: Em.Route.extend({
route: '/foo',
// In my head I hear whispering, "Buuullllshhhiiittt"
index: Em.Route.extend({
route: '/'
})
bar: Em.Route.extend({
route: '/:bar'
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment