From ae6addeb2d151342d8052b5b1029fa1751b063f8 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 1 Oct 2019 16:52:46 -0400 Subject: [PATCH] Merge diffs from master --- lib/post_creator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/post_creator.rb b/lib/post_creator.rb index 8eec0bd6f4..9614a518e6 100644 --- a/lib/post_creator.rb +++ b/lib/post_creator.rb @@ -443,6 +443,7 @@ class PostCreator attrs[:word_count] = (@topic.word_count || 0) + @post.word_count attrs[:excerpt] = @post.excerpt_for_topic if new_topic? attrs[:bumped_at] = @post.created_at unless @post.no_bump + @topic.update_columns(attrs) end @topic.update_columns(attrs)