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:
parent
11260b4af4
commit
25ef66c60b
18 changed files with 215 additions and 259 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue