mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-06 06:04:06 +03:00
3296a3a41c
no issue - this ports over screens from old admin to allow people to begin working on aspects of the screen - All logged out screens have been imported: Signup, Signin, Forgotten password, reset password - Those screens are now ready for behavior to be ported over - This also updates templates to be more in line with how they were in the old admin - Littered through the code are @TODO comments of functionality that is missing and will need to be resolved before this is production ready - Also scaffolds out the settings screen and every tab
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
var AuthenticatedRoute = Ember.Route.extend({
|
|
actions: {
|
|
error: function (error) {
|
|
if (error.jqXHR.status === 401) {
|
|
this.transitionTo('signin');
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
export default AuthenticatedRoute; |