diff --git a/core/client/controllers/signin.js b/core/client/controllers/signin.js index 04e89e19b3..14347d4ad0 100644 --- a/core/client/controllers/signin.js +++ b/core/client/controllers/signin.js @@ -43,7 +43,7 @@ var SigninController = Ember.ObjectController.extend(ValidationEngine, { appController.set('loginTransition', null); loginTransition.retry(); } else { - self.transitionTo('posts'); + self.transitionToRoute('posts'); } }).catch(function (resp) { self.toggleProperty('submitting'); diff --git a/core/client/controllers/signup.js b/core/client/controllers/signup.js index 76381de6dd..7e582ac236 100644 --- a/core/client/controllers/signup.js +++ b/core/client/controllers/signup.js @@ -30,10 +30,10 @@ var SignupController = Ember.ObjectController.extend(ValidationEngine, { self.store.find('user', resp.userData.id).then(function (user) { self.send('signedIn', user); self.notifications.clear(); - self.transitionTo('posts'); + self.transitionToRoute('posts'); }); } else { - self.transitionTo('signin'); + self.transitionToRoute('signin'); } }, function (resp) { self.toggleProperty('submitting');