From 40f93bda8b28650e9a461a04ca0ac228f150c565 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9gis=20Hanol?= <regis@hanol.fr>
Date: Fri, 21 Jun 2013 18:30:05 +0200
Subject: [PATCH] make sure we trigger the post process when rebaking the posts

---
 lib/tasks/posts.rake | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/tasks/posts.rake b/lib/tasks/posts.rake
index 2228e11f504..18e6bd859f6 100644
--- a/lib/tasks/posts.rake
+++ b/lib/tasks/posts.rake
@@ -33,6 +33,9 @@ def rebake_posts(opts = {})
 
       TopicLink.extract_from post
 
+      # make sure we trigger the post process
+      post.trigger_post_process
+
       total += 1
     end