fix ordering for favorites
This commit is contained in:
@@ -17,7 +17,7 @@ module PostSetPresenters
|
|||||||
end
|
end
|
||||||
|
|
||||||
def posts
|
def posts
|
||||||
favorites.map(&:post)
|
@posts ||= favorite_set.posts
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user