mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
bf2a2eeb63
refs https://github.com/TryGhost/Team/issues/3151 - adds route in Admin for opening new settings screen in react - adds new config for passing `adminX` to Admin - loads adminX settings from package in Admin UI when new route is opened Co-authored-by: Peter Zimon <zimo@ghost.org>
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);
|
|
}
|
|
}
|