emberjs/ember.js — pull request #9994 by rwjblue (2014-12-20 18:56:48+00:00)
Title: [FEATURE ember-routing-named-substates]

Only add loading and error substates if the resolver being used is a modules based resolver.

Also, return the Ember.Router from `Ember.Router.map` instead of the `router.js` router.