/** * Update the specified resource in storage. * * @param int $id * @return Response */ public function update($id, StudentRequest $request) { $student = Student::FindOrFail($id); $student->update($request->all()); return redirect('student'); }