/** * Display the specified resource. * * @param int $id * @return Response */ public function modal($id) { $title = "Table Page"; $page_active = "table"; $entry = Directory::find($id); return view('pages.modal', compact('entry')); }