/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $rol = Rol::with('acciones')->find($id); $acciones = Accion::all(); return View::make('administrador.roles.editar')->with(compact('acciones', 'rol')); }