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

10 lines
297 B
JavaScript
Raw Normal View History

import itemView from 'ghost/views/item-view';
var PostItemView = itemView.extend({
openEditor: function () {
this.get('controller').send('openEditor', this.get('context')); // send action to handle transition to editor route
}.on("doubleClick")
});
export default PostItemView;