mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-07 03:22:21 +03:00
683dbaa376
refs TryGhost/Ghost#7769 - adds Google AMP to `apps` in order to disable and enable it on request.
11 lines
336 B
JavaScript
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')
|
|
});
|