/** * Show a form to edit a particular talk. * * @param integer $id The id of the talk to edit. * * @return mixed The response. */ public function showEditTalk($id) { try { $talk = TalkService::getTalk($id); $data = array('talk' => $talk); $data = array_merge_recursive($data, $this->getCommonData()); return View::make('talks.edit', $data); } catch (Exception $e) { return $this->unexpected($e); } }