FEATURE: First stab at groups page with member list

This commit is contained in:
Robin Ward
2014-02-07 10:44:03 -05:00
parent e511e8a80b
commit 3b617b04b0
14 changed files with 149 additions and 11 deletions

View File

@@ -0,0 +1,15 @@
class GroupPostSerializer < ApplicationSerializer
attributes :id,
:cooked,
:created_at,
:title,
:url
has_one :user, serializer: BasicUserSerializer, embed: :objects
def title
object.topic.title
end
end