mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
06ff9dfb10
refs bdcbfcb92c
- previous commit missed rename of access route to membership
23 lines
513 B
JavaScript
23 lines
513 B
JavaScript
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class MembershipSettingsRoute extends AuthenticatedRoute {
|
|
@service settings;
|
|
|
|
model() {
|
|
this.settings.reload();
|
|
}
|
|
|
|
actions = {
|
|
willTransition(transition) {
|
|
return this.controller.leaveRoute(transition);
|
|
}
|
|
}
|
|
|
|
buildRouteInfoMetadata() {
|
|
return {
|
|
titleToken: 'Settings - Membership'
|
|
};
|
|
}
|
|
}
|