This commit is contained in:
Toks
2014-02-28 19:02:30 -05:00
parent fee7228aaf
commit 5d5caf5eea
4 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ module PostSets
end
def posts
favorites.includes(:post).map(&:post)
favorites.includes(:post).map(&:post).compact
end
def presenter