Hopefully fixed AbstractParameter exception on the LabelProfile controller

This commit is contained in:
Jan Böhmer 2023-02-03 23:43:44 +01:00
parent d804184073
commit f0947fd948
14 changed files with 85 additions and 82 deletions
src/Controller/AdminPages

View file

@ -41,12 +41,12 @@ use Symfony\Component\Routing\Annotation\Route;
*/
class ProjectAdminController extends BaseAdminController
{
protected $entity_class = Project::class;
protected $twig_template = 'AdminPages/ProjectAdmin.html.twig';
protected $form_class = ProjectAdminForm::class;
protected $route_base = 'project';
protected $attachment_class = ProjectAttachment::class;
protected $parameter_class = ProjectParameter::class;
protected string $entity_class = Project::class;
protected string $twig_template = 'AdminPages/ProjectAdmin.html.twig';
protected string $form_class = ProjectAdminForm::class;
protected string $route_base = 'project';
protected string $attachment_class = ProjectAttachment::class;
protected ?string $parameter_class = ProjectParameter::class;
/**
* @Route("/{id}", name="project_delete", methods={"DELETE"})