From f1a1b1f63a31735fa48f3480e6eb6c9565f56aef Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 24 Aug 2015 12:28:14 -0700 Subject: [PATCH] Fix transition deprecation --- app/pods/login/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pods/login/controller.js b/app/pods/login/controller.js index 2b2a42a..fed3485 100644 --- a/app/pods/login/controller.js +++ b/app/pods/login/controller.js @@ -9,7 +9,7 @@ export default Ember.Controller.extend({ // Manually clean up because there might not be a transition this.get('flashMessages').clearMessages(); - this.transitionTo('loading').then(() => { + this.transitionToRoute('loading').then(() => { session.authenticate(authenticator, credentials).then(null, (error)=> { this.get('flashMessages').error(error.error); });