/** * Show the form for editing the specified user. * * @param int $id * @return Response */ public function edit($id) { try { $user = User::rideShareLogGet($id); $u_options = LmpCombination::rideShareLogGetOptions(); } catch (\Exception $e) { return $this->handleError($e); } return View::make('users.edit', ['user' => $user, 'u_options' => $u_options]); }
/** * Show the form for editing the specified lmpcombination. * * @param int $id * @return Response */ public function edit($id) { try { $lmp_combination = LmpCombination::rideShareLogGet($id); $lmp_options = LmpCombination::rideShareLogGetOptions(); } catch (\Exception $e) { return $this->handleError($e); } return View::make('lmp_combinations.edit', ['lmp_combination' => $lmp_combination, 'lmp_options' => $lmp_options]); }