/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $empresa = EmpresaRenta::find($id);
     $municipios = Estado::with('municipios')->find($empresa->estados_id);
     $estados = Estado::with('municipios')->get();
     $pagos = PagoEmpresaRenta::all();
     $estatus = EstatuEmpresaRenta::all();
     return View::make('administrador.empresasrenta.editar')->with(compact('estados', 'empresa', 'municipios', 'pagos', 'estatus'));
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $estatus = EstatuEmpresaRenta::all();
     return View::make('administrador.estatusrenta.inicio')->with(compact('estatus'));
 }