/**
  * Show the form for editing the specified userpermission.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     try {
         $user_permission = UserPermission::rideShareLogGet($id);
         $up_options = UserPermission::rideShareLogGetOptions();
     } catch (\Exception $e) {
         return $this->handleError($e);
     }
     return View::make('user_permissions.edit', ['user_permission' => $user_permission, 'up_options' => $up_options]);
 }