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