1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/controllers/about.js
Austin Burdine 1fd879343f more shimming of controllers (#110)
refs #101, #95
- shim controllers that were missed initially
2016-07-06 20:47:30 +01:00

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