mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
parent
185fd0130f
commit
2ddb84c5e3
2 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue