fixes #2102
This commit is contained in:
@@ -81,7 +81,7 @@ class UserPresenter
|
|||||||
arel = arel.where("posts.is_deleted = false")
|
arel = arel.where("posts.is_deleted = false")
|
||||||
end
|
end
|
||||||
|
|
||||||
arel.map(&:post)
|
arel.map(&:post).compact
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user