From bf3d5eb40deef35cac14f69a06557826240cb230 Mon Sep 17 00:00:00 2001 From: Tom Dale + Yehuda Katz Date: Mon, 2 Mar 2015 21:38:07 -0800 Subject: [PATCH] Properly override location in visit() --- packages/ember-application/lib/system/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember-application/lib/system/application.js b/packages/ember-application/lib/system/application.js index 1abdcb6bbaa..c06c03427ae 100644 --- a/packages/ember-application/lib/system/application.js +++ b/packages/ember-application/lib/system/application.js @@ -817,7 +817,7 @@ if (Ember.FEATURES.isEnabled('ember-application-visit')) { }; }); - instance.setupRouter({ location: 'none' }); + instance.overrideRouterLocation({ location: 'none' }); return instance.handleURL(url).then(function() { return renderPromise;