/** * Display a listing of the resource. * * @return Response */ public function index() { $todoplanilla = Planilla::all(); return View::make('planilla.listar')->with('todoplanilla', $todoplanilla); }