ではない、私はちょうどember 2.1
に自分のアプリケーションをアップグレードし、私のWebブラウザコンソールでこのエラーを取得しています:キャッチされない例外TypeError:this.transitionToが機能
Uncaught TypeError: this.transitionTo is not a function
、私はdirection
という名前の変数を持っています
http://localhost:4200/plates/new?direction=plates
その後、私は私のコントローラにこれを構築する:
export default Ember.Controller.extend({
queryParams: ['direction'],
direction: null,
actions: {
lastpage(){
this.transitionTo(this.get('direction'));
},
save(...){
},
},
});
このU私のアップグレードの前に働くことを頼んだ。何が価値を下げた/私はこのエラーを修正するのですか?