Created
July 11, 2012 07:39
-
-
Save Neppord/3088759 to your computer and use it in GitHub Desktop.
How does the automatic find binding work?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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