app/Http/Controllers/AdminVideoController.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::orderBy('id','DESC')->get();
        return view('admin.video.index',compact('videos'));
    }
public function index ( ) { $ videos = Video :: orderBy ( 'id' , 'DESC' ) -> get ( ) ; return view ( 'admin.video.index' , compact ( 'videos' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .