discourse/app/serializers/application_serializer.rb

4 lines
89 B
Ruby

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