mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +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,13 +40,13 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
*/
|
||||
class LabelProfileController extends BaseAdminController
|
||||
{
|
||||
protected $entity_class = LabelProfile::class;
|
||||
protected $twig_template = 'AdminPages/LabelProfileAdmin.html.twig';
|
||||
protected $form_class = LabelProfileAdminForm::class;
|
||||
protected $route_base = 'label_profile';
|
||||
protected $attachment_class = LabelAttachment::class;
|
||||
protected string $entity_class = LabelProfile::class;
|
||||
protected string $twig_template = 'AdminPages/LabelProfileAdmin.html.twig';
|
||||
protected string $form_class = LabelProfileAdminForm::class;
|
||||
protected string $route_base = 'label_profile';
|
||||
protected string $attachment_class = LabelAttachment::class;
|
||||
//Just a placeholder
|
||||
protected $parameter_class = AbstractParameter::class;
|
||||
protected ?string $parameter_class = null;
|
||||
|
||||
/**
|
||||
* @Route("/{id}", name="label_profile_delete", methods={"DELETE"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue