I just upgraded the application to ember 2.1 and got this error in my web browser console:
Uncaught TypeError: this.transitionTo is not a function
In my url, I have a variable called direction :
http://localhost:4200/plates/new?direction=plates
Then I create this in my controller:
export default Ember.Controller.extend({ queryParams: ['direction'], direction: null, actions: { lastpage(){ this.transitionTo(this.get('direction')); }, save(...){ }, }, });
This worked before my update. What has depreciated / how can I fix this error?
mh00h source share