app/Http/Controllers/NestedSetController.php
public function edit($id)
    {
        $category = $this->repository->find($id);

        return view('categories.edit', [
            'category' => $category,
            'resource' => $this->resource,
            'routes'   => $this->routes,
        ]);
    }
public function edit($id)
    {
        $category = $this->repository->find($id);

        return view('categories.edit', [
            'category' => $category,
            'resource' => $this->resource,
            'routes'   => $this->routes,
        ]);
    }
Show the form for editing the specified category.

@param int|string $id

@return \Illuminate\View\View