/** * 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(); Genre::editGenre($data, $id); return Redirect('/genres'); }