Isn't that what this does: https://github.com/emberjs/ember.js/blob/master/packages_es6/ember-routing/lib/system/route.js#L1686