mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 00:33:44 +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
|