Forked from
PortalMEC / portalmec
676 commits behind the upstream repository.
-
Marcela Ribeiro de Oliveira authoredMarcela Ribeiro de Oliveira authored
follow_serializer.rb 158 B
class FollowSerializer < ActiveModel::Serializer
cache key: 'follow', expires_in: 24.hours
attributes :id
belongs_to :followable
has_many :user
end