Ghost/ghost/admin/app/controllers/about.js

15 lines
402 B
JavaScript
Raw Normal View History

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();
})
});