mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
15 lines
402 B
JavaScript
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();
|
|
})
|
|
});
|