public function create($id = null)
    {
        // If an ID is supplied then we're creating a child category
        if ($id) {
            $category = $this->repository->find($id);

            if ($category) {
                return view('categories.nodes.create', [
                    'category' => $category,
                    'resource' => $this->resource,
                    'routes'   => $this->routes,
                ]);
            }
        }

        return view('categories.create', [
            'resource' => $this->resource,
            'routes'   => $this->routes,
        ]);
    }