Updated incorrect comment

This commit is contained in:
Robin Ward 2015-01-28 13:38:40 -05:00
parent 8fc477ab07
commit 053d3120f7

View File

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