/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $data = Input::all(); Book::editBook($data, $id); return Redirect('/books'); }