Created
June 2, 2016 22:25
-
-
Save Sarav-S/14ac7834e56183311384a03577e1c970 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Update the specified resource in storage. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @param App\User $user | |
* @return \Illuminate\Http\Response | |
*/ | |
public function update(Request $request, $user) | |
{ | |
$this->validate($request, $this->rules($user->id)); | |
return $this->save($request, $user); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment