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

8 Zeilen
211 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
2024-10-16 13:52:03 +02:00
attributes :date, :action, :username, :message
2022-03-12 15:20:54 +01:00
has_one :user, serializer: ::BasicUserSerializer, embed: :objects
2021-03-11 07:30:15 +01:00
end