mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-05 12:49:12 +00:00
113 - Viewing the Update Form
Just the view, saving changes not yet implemented.
This commit is contained in:
@@ -55,4 +55,15 @@ class ConcertsController extends Controller
|
||||
|
||||
return redirect()->route('concerts.show', $concert);
|
||||
}
|
||||
|
||||
public function edit($id)
|
||||
{
|
||||
$concert = Auth::user()->concerts()->findOrFail($id);
|
||||
|
||||
abort_if($concert->isPublished(), 403);
|
||||
|
||||
return view('backstage.concerts.edit', [
|
||||
'concert' => $concert,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user