Merge diffs from master
This commit is contained in:
parent
f55439e33e
commit
ae6addeb2d
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user