Ejemplo n.º 1
0
 /**
  * Update the specified resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function update(Family $family, SaveFamilyRequest $request)
 {
     $family->update($request->all());
     flash()->success('Your edit has been saved');
     return redirect('families');
 }