Ghost/ghost/admin/app/controllers/about.js
Austin Burdine bfe542b27d more shimming of controllers (#110)
refs #101, #95
- shim controllers that were missed initially
2016-07-06 20:47:30 +01:00

18 lines
401 B
JavaScript

import Controller from 'ember-controller';
import computed from 'ember-computed';
export default Controller.extend({
updateNotificationCount: 0,
actions: {
updateNotificationChange(count) {
this.set('updateNotificationCount', count);
}
},
copyrightYear: computed(function () {
let date = new Date();
return date.getFullYear();
})
});