mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-10-17 21:03:00 -04:00
Added lazy loading to creator videos page and other fixes
This commit is contained in:
@@ -48,7 +48,7 @@ class FrontendController extends Controller
|
||||
|
||||
public function creatorVideos(Request $request, Creator $creator)
|
||||
{
|
||||
$videos = Videos::getByCreator($creator);
|
||||
$videos = Videos::getByCreator($creator, Video::LAZY_LOAD_ITEM_COUNT);
|
||||
|
||||
return view('frontend::creator-videos', compact('creator', 'videos'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user