discourse/app/serializers/category_serializer.rb

14 lines
261 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class CategorySerializer < ApplicationSerializer
2013-02-25 11:42:20 -05:00
attributes :id,
:name,
:color,
:text_color,
2013-02-25 11:42:20 -05:00
:slug,
:topic_count,
:description,
:topic_url,
:hotness
2013-02-05 14:16:51 -05:00
end