2013-02-05 14:16:51 -05:00
|
|
|
class CategorySerializer < ApplicationSerializer
|
2013-02-21 18:09:56 -05:00
|
|
|
|
2013-02-25 11:42:20 -05:00
|
|
|
attributes :id,
|
|
|
|
:name,
|
|
|
|
:color,
|
2013-03-14 09:16:57 -04:00
|
|
|
:text_color,
|
2013-02-25 11:42:20 -05:00
|
|
|
:slug,
|
2013-02-21 18:09:56 -05:00
|
|
|
:topic_count,
|
|
|
|
:description,
|
|
|
|
:topic_url
|
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|