FEATURE: show added date when looking at group members

This commit is contained in:
Sam
2018-11-01 15:33:28 +11:00
parent aa044623bd
commit ceafcbc898
5 changed files with 28 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
class GroupUserSerializer < BasicUserSerializer
attributes :name, :title, :last_posted_at, :last_seen_at
attributes :name, :title, :last_posted_at, :last_seen_at, :added_at
def include_added_at
object.respond_to? :added_at
end
end