Esempio n. 1
0
 /**
  * Show the form for creating a new bug
  *
  * @return Response
  */
 public function create()
 {
     $bugTypes = BugType::getBugTypeList();
     $bugStatuses = BugStatus::getBugStatusList();
     $assignTo = User::getProgrammerDesigner()->getList();
     $this->layout->title = "Add Bug";
     $this->layout->content = View::make('bugs.create', compact('bugTypes', 'bugStatuses', 'assignTo', 'getAllBugs'));
 }