Ghost/ghost/admin/views/post-item-view.js

10 lines
306 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('controller.model')); // send action to handle transition to editor route
}.on('doubleClick')
});
export default PostItemView;