public function edit($id)
    {
        $category = $this->repository->find($id);

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