1
0
Fork 0
discourse-custom-wizard-unl.../serializers/custom_wizard/log_serializer.rb

11 Zeilen
250 B
Ruby

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