mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
717e89113c
refs https://github.com/TryGhost/Ghost/issues/14101 - migrated to full native class syntax - swapped use of `<GhTextInput>` in favor of native `<input>` and removed use of `{{action}}` in associated template
15 lines
403 B
JavaScript
15 lines
403 B
JavaScript
import AboutModal from '../components/modals/settings/about';
|
|
import Controller from '@ember/controller';
|
|
import {action} from '@ember/object';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class SettingsController extends Controller {
|
|
@service modals;
|
|
@service upgradeStatus;
|
|
|
|
@action
|
|
openAbout() {
|
|
this.advancedModal = this.modals.open(AboutModal);
|
|
}
|
|
}
|