mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
344f3080df
No issue
11 lines
345 B
JavaScript
11 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;
|