diff --git a/src/posts/edit.js b/src/posts/edit.js index d6fca5d738..9c8cbcdaac 100644 --- a/src/posts/edit.js +++ b/src/posts/edit.js @@ -63,6 +63,7 @@ module.exports = function(Posts) { editMainPost(data, postData, next); }, post: function(next) { + cache.del(postData.pid); pubsub.publish('post:edit', postData.pid); Posts.parsePost(postData, next); }