This commit is contained in:
Daniel Supernault 2019-07-10 18:58:52 -06:00
parent b5c017a2ba
commit 4ca415e181
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -138,7 +138,7 @@ class DiscoverController extends Controller
]);
$page = $request->input('page') ?? '1';
$end = $page > 1 ? $page * 9 : 1;
$end = $page > 1 ? $page * 9 : 0;
$tag = $request->input('hashtag');
$hashtag = Hashtag::whereName($tag)->firstOrFail();