mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
parent
9e8d902d0a
commit
644991351b
@ -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…
Reference in New Issue
Block a user