Skip to content

Instantly share code, notes, and snippets.

@Neppord
Created July 11, 2012 07:39
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 Neppord/3088759 to your computer and use it in GitHub Desktop.
Save Neppord/3088759 to your computer and use it in GitHub Desktop.
How does the automatic find binding work?
App.Router = Em.Router.extend({
root: Em.Route.extend({
route: '/',
post: Em.Route.extend({
route: '/:post_user/:post_date',
connectOutlets: function (router, context) {
// Should give the Post with the user, and the date?
}
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment