mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 01:03:23 +03:00
eb3a8af3d4
No issue
12 lines
345 B
JavaScript
12 lines
345 B
JavaScript
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
|
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
|
|
|
var UsersRoute = AuthenticatedRoute.extend(CurrentUserSettings, {
|
|
beforeModel: function () {
|
|
return this.currentUser()
|
|
.then(this.transitionAuthor());
|
|
}
|
|
});
|
|
|
|
export default UsersRoute;
|