mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
bfe542b27d
refs #101, #95 - shim controllers that were missed initially
18 lines
401 B
JavaScript
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();
|
|
})
|
|
});
|