about summary refs log tree commit diff
path: root/app/serializers/rest/v2/search_serializer.rb
blob: cdb6b3a53012c974414fa90aa0928983e732aaa4 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class REST::V2::SearchSerializer < ActiveModel::Serializer
  has_many :accounts, serializer: REST::AccountSerializer
  has_many :statuses, serializer: REST::StatusSerializer
  has_many :hashtags, serializer: REST::TagSerializer
end