Esempio n. 1
0
 /**
  * Displays the form for creating an issue.
  *
  * @return \Illuminate\View\View
  */
 public function create()
 {
     // Is this the users first ticket?
     $first = $this->issue->forUser(Auth::user())->count() === 0;
     $form = $this->presenter->form($this->issue);
     return view('pages.issues.create', compact('form', 'first'));
 }