mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 09:53:53 +08:00
7 lines
216 B
Ruby
7 lines
216 B
Ruby
require_dependency 'age_words'
|
|
|
|
# The most basic attributes of a topic that we need to create a link for it.
|
|
class BasicTopicSerializer < ApplicationSerializer
|
|
attributes :id, :fancy_title, :slug, :posts_count
|
|
end
|