❤️ @wycats
This commit is contained in:
Steve Klabnik 2014-07-05 12:11:08 -04:00
parent b08b3c4caa
commit 67688b77e6

View File

@ -26,7 +26,7 @@ and
class CommentSerializer < ActiveModel::Serializer class CommentSerializer < ActiveModel::Serializer
attribute :name, :body attribute :name, :body
belongs_to :post_id belongs_to :post
url [:post, :comment] url [:post, :comment]
end end