2017-08-22 10:53:26 +03:00
|
|
|
import Controller from '@ember/controller';
|
|
|
|
import {computed} from '@ember/object';
|
2018-01-11 01:57:43 +03:00
|
|
|
import {readOnly} from '@ember/object/computed';
|
2018-01-09 17:23:36 +03:00
|
|
|
import {inject as service} from '@ember/service';
|
2015-10-28 14:36:45 +03:00
|
|
|
|
|
|
|
export default Controller.extend({
|
2018-01-09 17:23:36 +03:00
|
|
|
upgradeStatus: service(),
|
2016-01-23 20:14:12 +03:00
|
|
|
|
2018-01-11 01:57:43 +03:00
|
|
|
about: readOnly('model'),
|
|
|
|
|
2016-01-23 20:14:12 +03:00
|
|
|
copyrightYear: computed(function () {
|
|
|
|
let date = new Date();
|
|
|
|
return date.getFullYear();
|
|
|
|
})
|
2015-04-29 23:54:53 +03:00
|
|
|
});
|