Emberjs route with args fail in some case
问题 In some case I got an issue with the routing url. Here's my router : contacts: Em.Route.extend({ route: '/contacts', index: Em.Route.extend({ route: '/', connectOutlets: function(router, context) { App.contactsController.populate() var appController = router.get('applicationController'); appController.connectOutlet('contactsList'); } }), show: Em.Route.extend({ route: '/:contactid', connectOutlets: function(router, context) { alert('show contact'); } }), doShowContact: function(router, event)