mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:45:26 +08:00
User invites page now has search, displays first invites_shown
records
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user