mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 07:23:46 +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
|