1
0
Fork 0

Update DiscoverController

This commit is contained in:
Daniel Supernault 2019-07-08 20:16:24 -06:00
parent 16b93eb315
commit 1b9b299927
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

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