I don't understand why the loading template is not loaded in the following scenario
App = Ember.Application.create()
App.Router.map ->
this.resource 'dashboard', {path: "/"}
App.ApplicationRoute = Ember.Route.extend
beforeModel: ->
new Ember.RSVP.Promise (resolve) ->
Ember.run.later ->
resolve()
, 3000
App.DashboardRoute = Ember.Route.extend
model: ->
['red', 'yellow', 'blue']
http://emberjs.jsbin.com/jageg/2/edit?html,js,output
From the documentation I understood that if a route with the path dashboard
returns a promise that doesn't immediately resolve, Ember will try to find a loading route in the hierarchy that it can transition into.
Thanks.