2014-08-11 16:59:00 -04:00
|
|
|
class AboutSerializer < ApplicationSerializer
|
2015-02-23 09:56:30 -05:00
|
|
|
has_many :moderators, serializer: UserNameSerializer, embed: :objects
|
|
|
|
has_many :admins, serializer: UserNameSerializer, embed: :objects
|
2014-08-11 16:59:00 -04:00
|
|
|
|
2014-08-11 18:15:35 -04:00
|
|
|
attributes :stats,
|
|
|
|
:description,
|
|
|
|
:title,
|
|
|
|
:locale,
|
2014-11-24 01:54:17 -05:00
|
|
|
:version,
|
|
|
|
:https
|
2014-08-11 16:59:00 -04:00
|
|
|
end
|