mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 06:30:15 +08:00
381e280228
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
|