discourse/app/serializers/category_serializer.rb

13 lines
238 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
2013-02-05 14:16:51 -05:00
end