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