Use transitionToRoute instead of transitionTo in controllers
This commit is contained in:
parent
fb1b820837
commit
34ca0cc386
|
@ -201,7 +201,7 @@ var Controller = Ember.Controller.extend({
|
||||||
Ember.run.cancel(this.searchLater);
|
Ember.run.cancel(this.searchLater);
|
||||||
}
|
}
|
||||||
this.searchLater = Ember.run.later(this, (function() {
|
this.searchLater = Ember.run.later(this, (function() {
|
||||||
this.transitionTo('main.search', phrase.replace(/\//g, '%2F'));
|
this.transitionToRoute('main.search', phrase.replace(/\//g, '%2F'));
|
||||||
}), 500);
|
}), 500);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user