Merge diffs from master

This commit is contained in:
Neil Lalonde 2019-10-01 16:52:46 -04:00
parent f55439e33e
commit ae6addeb2d

View File

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