delete cache on current process first

v1.18.x
barisusakli 10 years ago
parent a10dfc87cf
commit 945a94f0ed

@ -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);
}

Loading…
Cancel
Save