mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
e29f4a3496
- Add support classes and settings to enable reply by email - Split out Email builder to be more OO, add many specs
13 lines
265 B
Ruby
13 lines
265 B
Ruby
class EmailLogSerializer < ApplicationSerializer
|
|
|
|
attributes :id,
|
|
:reply_key,
|
|
:to_address,
|
|
:email_type,
|
|
:user_id,
|
|
:created_at
|
|
|
|
has_one :user, serializer: BasicUserSerializer, embed: :objects
|
|
|
|
end
|