mirror of
https://github.com/wahyd4/libr-2.git
synced 2026-08-09 05:15:53 +10:00
#11 Remove post content from post serializer.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user