change json contract
This commit is contained in:
2
app/views/posts/_quoted_post.json.jbuilder
Normal file
2
app/views/posts/_quoted_post.json.jbuilder
Normal file
@@ -0,0 +1,2 @@
|
||||
json.extract! post, :id, :content, :created_at
|
||||
json.user(post.user, partial: 'posts/user', as: :user)
|
||||
Reference in New Issue
Block a user