Ghost/ghost/admin/app/controllers/settings/apps/index.js
Aileen Nowak 683dbaa376 AMP app integration (#483)
refs TryGhost/Ghost#7769
- adds Google AMP to `apps` in order to disable and enable it on request.
2017-01-20 09:33:54 +00:00

11 lines
336 B
JavaScript

import Controller from 'ember-controller';
import injectController from 'ember-controller/inject';
import {alias} from 'ember-computed';
export default Controller.extend({
appsController: injectController('settings.apps'),
slack: alias('appsController.model.slack.firstObject'),
amp: alias('appsController.model.amp')
});