#11 Remove post content from post serializer.

This commit is contained in:
2015-10-10 11:00:45 +08:00
parent 762cfb8ff8
commit 375166b2cd
+1 -1
View File
@@ -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