/** * Update the specified watch in storage. * * @param int $id * @return Response */ public function update($id) { $watch = Watch::findOrFail($id); $validator = Validator::make($data = Input::all(), Watch::$rules); if ($validator->fails()) { return Redirect::back()->withErrors($validator)->withInput(); } $watch->update($data); return Redirect::route('watches.index'); }