/** * Displays the form for editing the specified issue. * * @param int|string $id * * @return \Illuminate\View\View */ public function edit($id) { $issue = $this->issue->findOrFail($id); $this->authorize('issues.edit', [$issue]); $form = $this->presenter->form($issue); return view('pages.issues.edit', compact('form')); }