emberjs/ember.js — pull request #2633 by ryanto (2013-05-06 02:19:15+00:00)
Title: Application Route model can return a promise

If application route model function returns a promise and there is a loading state we get an error. Here is a failing jsbin case: http://jsbin.com/alicow/2/edit

This PR fixes that by having parentRoute return undefined if there is no targetHandlerInfo. There is also a failing/fixed test case.