1
0
Fork 0
discourse-custom-wizard-unl.../app/serializers/custom_wizard/log_serializer.rb
2022-03-12 15:20:54 +01:00

10 Zeilen
250 B
Ruby

# frozen_string_literal: true
class CustomWizard::LogSerializer < ApplicationSerializer
attributes :date,
:action,
:username,
:message
has_one :user, serializer: ::BasicUserSerializer, embed: :objects
end