mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 08:19:13 +00:00
Updated incorrect comment
This commit is contained in:
parent
8fc477ab07
commit
053d3120f7
@ -175,7 +175,7 @@ class PostRevisionSerializer < ApplicationSerializer
|
||||
"user_id" => [post.user_id]
|
||||
}
|
||||
|
||||
# For the topic fields, let's get the values from a serializer
|
||||
# Retrieve any `tracked_topic_fields`
|
||||
PostRevisor.tracked_topic_fields.keys.each do |field|
|
||||
if topic.respond_to?(field)
|
||||
latest_modifications[field.to_s] = [topic.send(field)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user