public function getListUsers() { $aryResult = array(); $aryResult = Userss::all()->toArray(); return $aryResult; }
/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $user = Userss::find($id)->toArray(); return View::make('users.create')->with('userData', $user); }