/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $model = Share::with('user')->where('entry_id', $id)->get(); return $model; }