0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/controllers/posts/post.js

6 lines
170 B
JavaScript
Raw Normal View History

var equal = Ember.computed.equal;
export default Ember.ObjectController.extend({
isPublished: equal('status', 'published'),
isDraft: equal('status', 'draft')
});