/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { //TODO: validation in the model $data = Input::all(); Author::editAuthor($data, $id); return Redirect('/authors'); }