mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 13:32:01 +08:00
![Sam](/assets/img/avatar_default.png)
1. it gives the class broken methods (like cache in production) 2. it conflicts with am serializers
7 lines
202 B
Ruby
7 lines
202 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
|
|
end
|