/** * getCreate * * @return mixed */ public function getCreate() { $troubles = Trouble::all(); // Show the page. // return View::make('ticket/create')->with('troubles', $troubles); }
/** * Main users page. * * @access public * @return View */ public function getIndex() { $troubles = Trouble::all(); // Show the page. // return View::make('account/index', array('user' => Auth::user(), 'troubles' => $troubles)); }