gab-social/app/serializers/rest/context_serializer.rb
2019-07-02 03:10:25 -04:00

7 lines
211 B
Ruby

# frozen_string_literal: true
class REST::ContextSerializer < ActiveModel::Serializer
has_many :ancestors, serializer: REST::StatusSerializer
has_many :descendants, serializer: REST::StatusSerializer
end