0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-30 04:30:29 +01:00
discourse-custom-wizard/app/serializers/custom_wizard/log_serializer.rb

11 Zeilen
250 B
Ruby

2021-03-11 07:30:15 +01:00
# frozen_string_literal: true
2022-03-12 15:20:54 +01:00
2020-04-15 02:46:44 +02:00
class CustomWizard::LogSerializer < ApplicationSerializer
2022-03-12 15:20:54 +01:00
attributes :date,
:action,
:username,
:message
has_one :user, serializer: ::BasicUserSerializer, embed: :objects
2021-03-11 07:30:15 +01:00
end