diff --git a/app/routes/index.js b/app/routes/index.js index 81961809fa7..da0ebb0bb51 100644 --- a/app/routes/index.js +++ b/app/routes/index.js @@ -253,7 +253,9 @@ export default class IndexRoute extends Route { @action loading(transition) { transition.promise.finally(() => { - this.controller.set('finishedLoading', true); + if (this.controller) { + this.controller.set('finishedLoading', true); + } }); return false; }