initial copy commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Api::PostSerializer < ActiveModel::Serializer
|
||||
attribute :title
|
||||
attribute :body
|
||||
has_many :comments
|
||||
end
|
||||
Reference in New Issue
Block a user