mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
49ea71ed4f
- Change fixture response of posts route to actual format. - Extracted classNames logic of routes into style-body mixin. - Additionally replaced all double-quotes with single-quotes for style conformance.
9 lines
294 B
JavaScript
9 lines
294 B
JavaScript
import itemView from 'ghost/views/item-view';
|
|
|
|
var PostItemView = itemView.extend({
|
|
openEditor: function () {
|
|
this.get('controller').send('openEditor', this.get('post')); // send action to handle transition to editor route
|
|
}.on("doubleClick")
|
|
});
|
|
|
|
export default PostItemView;
|