mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:33:45 +08:00
12 lines
181 B
Ruby
12 lines
181 B
Ruby
class TopicViewPostsSerializer < ApplicationSerializer
|
|
include PostStreamSerializerMixin
|
|
include SuggestedTopicsMixin
|
|
|
|
attributes :id
|
|
|
|
def id
|
|
object.topic.id
|
|
end
|
|
|
|
end
|