mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +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;
|