mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +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
|