/** * Update the specified resource in storage. * * @param int $id * @return Response */ public function update($id, Request $request) { //$this->validate($request, null); $text = Texts::findOrFail($id); $text->update($request->all()); Session::flash('flash_message', 'Texts successfully updated!'); return redirect('texts'); }