/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $objs = Bus::paginate(10); return view('buses.index', array("objs" => $objs)); }