/** * Update the specified resource in storage. * * @param int $id * @return Response */ public function update($wine_unique_id) { $result = Winenote::updateWinenoteDetail($wine_unique_id, $this->_getInput()); return Response::json($result); }