mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
6 lines
170 B
JavaScript
6 lines
170 B
JavaScript
|
var equal = Ember.computed.equal;
|
||
|
|
||
|
export default Ember.ObjectController.extend({
|
||
|
isPublished: equal('status', 'published'),
|
||
|
isDraft: equal('status', 'draft')
|
||
|
});
|