Update DiscoverController

pull/663/head
Daniel Supernault 6 years ago
parent 591e50541e
commit c819bfe351
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -36,6 +36,8 @@ class DiscoverController extends Controller
->firstOrFail();
$posts = $tag->posts()
->whereNull('url')
->whereNull('uri')
->whereHas('media')
->withCount(['likes', 'comments'])
->whereIsNsfw(false)

Loading…
Cancel
Save