Update discover controller

pull/480/head
Daniel Supernault 8 years ago
parent 809423914f
commit 5ab2fe1090
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -60,6 +60,7 @@ class DiscoverController extends Controller
->whereVisibility('public')
->where('profile_id', '!=', $pid)
->whereNotIn('profile_id', $following)
->withCount(['comments', 'likes'])
->orderBy('created_at', 'desc')
->simplePaginate(21);

Loading…
Cancel
Save