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

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