From a5295591b81a98318dccff061c712c88835a2822 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 23 Jun 2017 14:35:10 -0400 Subject: [PATCH] FEATURE: post_process_cooked event --- lib/cooked_post_processor.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rb index 6847c15cdc4..9d950f4cf06 100644 --- a/lib/cooked_post_processor.rb +++ b/lib/cooked_post_processor.rb @@ -35,6 +35,8 @@ class CookedPostProcessor optimize_urls pull_hotlinked_images(bypass_bump) grant_badges + DiscourseEvent.trigger(:post_process_cooked, @doc, @post) + nil end end