discourse/app/serializers/application_serializer.rb

4 lines
86 B
Ruby

class ApplicationSerializer < ActiveModel::Serializer
embed :ids, include: true
end