/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $update = Update::find($id); if (Auth::check()) { $update = Update::withTrashed()->find($id); } return view('about.events.edit', compact('update')); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $update = Update::find($id); if (Auth::check()) { $update = Update::withTrashed()->find($id); } return view('academylife.sports.edit', compact('update')); }