Esempio n. 1
0
 /**
  * getCreate
  *
  * @return mixed
  */
 public function getCreate()
 {
     $troubles = Trouble::all();
     // Show the page.
     //
     return View::make('ticket/create')->with('troubles', $troubles);
 }
Esempio n. 2
0
 /**
  * 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));
 }