mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 09:52:09 +03:00
7a56ded8d0
Merged About and What's new? page.
18 lines
456 B
JavaScript
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();
|
|
})
|
|
});
|