diff --git a/app/serializers/post_serializer.rb b/app/serializers/post_serializer.rb index 0d3ded8..8ae5bce 100644 --- a/app/serializers/post_serializer.rb +++ b/app/serializers/post_serializer.rb @@ -1,6 +1,6 @@ class PostSerializer < ActiveModel::Serializer - attributes :id, :viewed_times, :url, :title, :content, :type, :processed, :good_format, :created_at, :likes_count, :comments_count, + attributes :id, :viewed_times, :url, :title, :type, :processed, :good_format, :created_at, :likes_count, :comments_count, :summary, :thumbnail def thumbnail