mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 18:50:55 +08:00

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
|