/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $horas = Listado_horas::orderBy('id', 'asc')->paginate(); return view('admin.horas.index', compact('horas')); }