2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

User invites page now has search, displays first invites_shown records

This commit is contained in:
Robin Ward 2013-11-05 17:52:50 -05:00
parent 11260b4af4
commit 25ef66c60b
18 changed files with 215 additions and 259 deletions

View file

@ -3,8 +3,6 @@ class InviteSerializer < ApplicationSerializer
attributes :email, :created_at, :redeemed_at
has_one :user, embed: :objects, serializer: InvitedUserSerializer
def include_email?
!object.redeemed?
end