Skip to content

Instantly share code, notes, and snippets.

@willrjmarshall
Created October 3, 2012 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save willrjmarshall/3824458 to your computer and use it in GitHub Desktop.
Save willrjmarshall/3824458 to your computer and use it in GitHub Desktop.
App.Router = Ember.Router.extend
root: Ember.Route.extend
index: Ember.Route.extend
route: "/"
connectOutlets: (router)->
router.get('applicationController').connectOutlet('home', App.Collections.Home.all())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment