app/Http/Controllers/FilterController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function quality(Request $request)
    {                               
        $videos = Video::where('quality', '1')
                        ->where('status', '1')
                        ->orderBy('id', 'desc')
                        ->paginate(16);
        $filter = "HD Videos";
        return view('filter', compact('videos', 'filter'));
    }
public function quality ( Request $ request ) { $ videos = Video :: where ( 'quality' , '1' ) -> where ( 'status' , '1' ) -> orderBy ( 'id' , 'desc' ) -> paginate ( 16 ) ; $ filter = " HD Videos " ; return view ( 'filter' , compact ( 'videos' , 'filter' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
// Videos // Filter Display