mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-31 09:09:53 -04:00
Updated incorrect comment
This commit is contained in:
parent
8fc477ab07
commit
053d3120f7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue