Ghost/ghost/admin/app/controllers/about.js
2019-02-26 16:12:34 +07:00

15 lines
402 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(),
copyrightYear: computed(function () {
let date = new Date();
return date.getFullYear();
})
});