From 34ca0cc386839ca9eff6648bc315a8027795d530 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 13 Jan 2016 12:00:35 +0100 Subject: [PATCH] Use transitionToRoute instead of transitionTo in controllers --- app/controllers/repos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/repos.js b/app/controllers/repos.js index 2af67045..71b64b70 100644 --- a/app/controllers/repos.js +++ b/app/controllers/repos.js @@ -201,7 +201,7 @@ var Controller = Ember.Controller.extend({ Ember.run.cancel(this.searchLater); } this.searchLater = Ember.run.later(this, (function() { - this.transitionTo('main.search', phrase.replace(/\//g, '%2F')); + this.transitionToRoute('main.search', phrase.replace(/\//g, '%2F')); }), 500); },