/** * Show the form for editing the specified Pages. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id, PagineRepo $pagine_repo) { $pagina = $pagine_repo->getById($id); return view('admin.pagine.edit', compact('pagina')); }