Ghost/ghost/admin/app/controllers/whatsnew.js
Sanne de Vries 7a56ded8d0 Updated About/What's new? page (#1872)
Merged About and What's new? page.
2021-09-08 14:00:24 +02:00

18 lines
456 B
JavaScript

import Controller from '@ember/controller';
import {computed} from '@ember/object';
import {inject as service} from '@ember/service';
/* eslint-disable ghost/ember/alias-model-in-controller */
export default Controller.extend({
config: service(),
upgradeStatus: service(),
whatsNew: service(),
queryParams: ['entry'],
copyrightYear: computed(function () {
let date = new Date();
return date.getFullYear();
})
});