mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
d208cc881a
no issue - removed old/unused unsaved-changes code - cleaned up unused service injections
16 lines
462 B
JavaScript
16 lines
462 B
JavaScript
import AboutModal from '../components/modals/settings/about';
|
|
import {action} from '@ember/object';
|
|
import {inject as service} from '@ember/service';
|
|
/* eslint-disable ghost/ember/alias-model-in-controller */
|
|
import Controller from '@ember/controller';
|
|
|
|
export default class SettingsController extends Controller {
|
|
@service modals;
|
|
@service upgradeStatus;
|
|
|
|
@action
|
|
openAbout() {
|
|
this.advancedModal = this.modals.open(AboutModal);
|
|
}
|
|
}
|