Skip to content

Commit d1170a0

Browse files
authored
Update README.md
1 parent e383d73 commit d1170a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class SerializableUser < JSONAPI::Serializable::Resource
4040

4141
has_many :comments do
4242
resources do
43-
@user.comments.order(:desc)
43+
@object.comments.order(:desc)
4444
end
4545
end
4646

0 commit comments

Comments
 (0)