mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-16 13:24:31 +02:00
Hopefully fixed AbstractParameter exception on the LabelProfile controller
This commit is contained in:
parent
d804184073
commit
f0947fd948
14 changed files with 85 additions and 82 deletions
|
@ -40,12 +40,12 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
*/
|
||||
class CategoryController extends BaseAdminController
|
||||
{
|
||||
protected $entity_class = Category::class;
|
||||
protected $twig_template = 'AdminPages/CategoryAdmin.html.twig';
|
||||
protected $form_class = CategoryAdminForm::class;
|
||||
protected $route_base = 'category';
|
||||
protected $attachment_class = CategoryAttachment::class;
|
||||
protected $parameter_class = CategoryParameter::class;
|
||||
protected string $entity_class = Category::class;
|
||||
protected string $twig_template = 'AdminPages/CategoryAdmin.html.twig';
|
||||
protected string $form_class = CategoryAdminForm::class;
|
||||
protected string $route_base = 'category';
|
||||
protected string $attachment_class = CategoryAttachment::class;
|
||||
protected ?string $parameter_class = CategoryParameter::class;
|
||||
|
||||
/**
|
||||
* @Route("/{id}", name="category_delete", methods={"DELETE"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue