app/Http/Controllers/VidoesController.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 index()
    {
        $videos = Video::where('status', '1')
                        ->orderBy('id', 'desc')
                        ->paginate(16);
        return view('videos', compact('videos'));
    }
public function index ( ) { $ videos = Video :: where ( 'status' , '1' ) -> orderBy ( 'id' , 'desc' ) -> paginate ( 16 ) ; return view ( 'videos' , compact ( 'videos' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
// Videos                                