/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { $user = Auth::user(); $categories = Category::all(); $video = Video::find($id); return view('videos.show', compact('user', 'video', 'categories')); }