mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 05:21:36 +03:00
01b49fede8
- Moved post route under posts resource - Changed ajax to use ic.ajax.request instead of ic.ajax.raw
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')
|
|
}); |